OutputCompression implements MiddlewareInterface

Sets up output compression

Internal

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
ResponseInterface

initializeOutputCompression()

Initialize output compression if configured

protected initializeOutputCompression() : void

        
On this page

Search results