Runner
in package
HTTP Server Runner
Run a Request through the RequestHandler (and possibly a Middleware stack) and output through the ResponseWriter
Table of Contents
Properties
- $handler : RequestHandlerInterface
- $responseWriter : ResponseWriterInterface
Methods
- __construct() : mixed
- run() : void
Properties
$handler
protected
RequestHandlerInterface
$handler
$responseWriter
protected
ResponseWriterInterface
$responseWriter
Methods
__construct()
public
__construct(RequestHandlerInterface $handler, ResponseWriterInterface $responseWriter) : mixed
Parameters
- $handler : RequestHandlerInterface
- $responseWriter : ResponseWriterInterface
run()
public
run(ServerRequestInterface $request) : void
Parameters
- $request : ServerRequestInterface