PHP Dokumentation: Function httpresponse-setgzip
12. Januar 2010 von werner
HttpResponse::setGzip
(PECL pecl_http >= 0.10.0)
HttpResponse::setGzip — Set 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 wird FALSE zurückgegeben.
Siehe auch
- HttpResponse::getGzip – Get gzip