The HttpResponse
PHP Manual

HttpResponse::setGzip

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::setGzipSet gzip

Opis

static bool HttpResponse::setGzip ( bool $gzip )

Enable on-thy-fly gzip'ing of the sent entity.

Parametry

gzip

whether GZip compression should be enabled

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.

Patrz także


The HttpResponse
PHP Manual