downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpResponse::setHeader> <HttpResponse::setFile
Last updated: Wed, 25 Nov 2009

view this page in

HttpResponse::setGzip

(PECL pecl_http >= 0.10.0)

HttpResponse::setGzipSet gzip

Description

static bool HttpResponse::setGzip ( bool $gzip )

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

Parameters

gzip

whether GZip compression should be enabled

Return Values

Returns TRUE on success or FALSE on failure.

See Also



add a note add a note User Contributed Notes
HttpResponse::setGzip
There are no user contributed notes for this page.

HttpResponse::setHeader> <HttpResponse::setFile
Last updated: Wed, 25 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites