HttpResponse::setGzip
(PECL pecl_http >= 0.10.0)
HttpResponse::setGzip — Set gzip
说明
static
bool HttpResponse::setGzip
( bool
$gzip
)Enable on-thy-fly gzip'ing of the sent entity.
参数
-
gzip -
whether GZip compression should be enabled
返回值
成功时返回 TRUE, 或者在失败时返回 FALSE。
There are no user contributed notes for this page.
