HttpResponse::setGzip
(PECL pecl_http >= 0.10.0)
HttpResponse::setGzip — Set gzip
Descrição
static
bool HttpResponse::setGzip
( bool
$gzip
)Enable on-thy-fly gzip'ing of the sent entity.
Parâmetros
-
gzip -
whether GZip compression should be enabled
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.