If no request or response are provided, the method will use
ServerRequestFactory::fromGlobals to create a request instance, and
instantiate a default response instance.
It then will invoke itself with the request and response, and emit
the returned response using the composed emitter.
public run ( Psr\Http\Message\ServerRequestInterface $request = null, Psr\Http\Message\ResponseInterface $response = null ) | ||
$request | Psr\Http\Message\ServerRequestInterface | |
$response | Psr\Http\Message\ResponseInterface |