Forum und email

HttpResponse::setGzip

(PECL pecl_http:0.10.0-1.5.5)

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를 반환합니다.