public
__invoke(RequestInterface $request, Closure(RequestInterface): ResponseInterface $next): ResponseInterface
Act on a request and generate a response, optionally forwarding the request to the next handler and acting on its response