RequestHandlerInterface
in
Handles a server request and produces a response.
An HTTP request handler process an HTTP request in order to produce an HTTP response.
Table of Contents
Methods
- handle() : ResponseInterface
- Handles a request and produces a response.
Methods
handle()
Handles a request and produces a response.
public
handle(ServerRequestInterface $request) : ResponseInterface
May call other collaborating code to generate the response.
Parameters
- $request : ServerRequestInterface