The HttpResponse
PHP Manual

HttpResponse::setGzip

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::setGzipSet gzip

Beschreibung

static bool HttpResponse::setGzip ( bool $gzip )

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

Parameter-Liste

gzip

whether GZip compression should be enabled

Rückgabewerte

Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.

Siehe auch


The HttpResponse
PHP Manual