HttpResponse::setGzip

(PECL pecl_http >= 0.10.0)

HttpResponse::setGzipSet 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

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top