MiddlewareQueueRequestHandler
in package
implements
RequestHandlerInterface
The HTTP Server request handling starting point for the application.
This handler is implemented as a queue-based handler that processes PSR-15 middleware.
Table of Contents
Interfaces
- RequestHandlerInterface
Methods
- __construct() : mixed
- handle() : ResponseInterface
- queue() : void
- Load the provided middleware on the queue for processing.
Methods
__construct()
public
__construct(RequestHandlerInterface $fallbackHandler) : mixed
Parameters
- $fallbackHandler : RequestHandlerInterface
Return values
mixed —handle()
public
handle(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterface —queue()
Load the provided middleware on the queue for processing.
public
queue(MiddlewareInterface $middleware) : void
Parameters
- $middleware : MiddlewareInterface