HttpResponse::setGzip
(PECL pecl_http:0.10.0-1.5.5)
HttpResponse::setGzip — Set gzip
Popis
static
bool HttpResponse::setGzip
( bool $gzip
)
Enable on-thy-fly gzip'ing of the sent entity.
Parametre
- gzip
-
whether GZip compression should be enabled
Vrátené hodnoty
Vracia TRUE pri úspechu alebe FALSE pri chybe.