OutputCompression implements MiddlewareInterface
Sets up output compression
Table of Contents
Interfaces
- MiddlewareInterface
Methods
- process() : ResponseInterface
- Clears all output and checks if a compression level is set
- initializeOutputCompression() : void
- Initialize output compression if configured
Methods
process()
Clears all output and checks if a compression level is set
public
process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
- $request : ServerRequestInterface
- $handler : RequestHandlerInterface
Return values
ResponseInterfaceinitializeOutputCompression()
Initialize output compression if configured
protected
initializeOutputCompression() : void