Swoole\Http\Response::gzip

Enable the gzip of response content.

説明

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

The header about Content-Encoding will be added automatically.

パラメータ

compress_level

戻り値