final class RequestUriHostMiddleware implements MiddlewareInterface (View source)

Simple HTTP middleware that makes the host of the currently active server request available to the routing framework This allows the FrontendRoutePartHandler (and other handlers) to react on the current request when matching/resolving routes

Methods

ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $next)

No description

Details

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $next)

No description

Parameters

ServerRequestInterface $request
RequestHandlerInterface $next

Return Value

ResponseInterface