PHP - Manual: Swoole\Http\Response::gzip
2024-11-15
(PECL swoole >= 1.9.0)
Swoole\Http\Response::gzip — Enable the gzip of response content.
$compress_level
= ?): ReturnTypeThe header about Content-Encoding will be added automatically.
compress_level
官方地址:https://www.php.net/manual/en/swoole-http-response.gzip.php