PoweredByMiddleware
final class PoweredByMiddleware implements MiddlewareInterface (View source)
Adds the framework's configured identification header to downstream responses.
Methods
__construct(FrameworkInfo $frameworkInfo)
Uses framework metadata as the header name and value source.
process(ServerRequestInterface $request, RequestHandlerInterface $handler)
Delegates request handling and replaces the identification response header.
ResponseInterface
Details
__construct
__construct(FrameworkInfo $frameworkInfo)
Uses framework metadata as the header name and value source.
process
ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $handler)
Delegates request handling and replaces the identification response header.