Swoole\Http\Response::gzip

Enable the gzip of response content.

Description

public ReturnType Swoole\Http\Response::gzip(string $compress_level = ?)

The header about Content-Encoding will be added automatically.

Parameters

compress_level

Return Values