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

search for in the

HttpResponse::setETag> <HttpResponse::setContentType
Last updated: Fri, 06 Nov 2009

view this page in

HttpResponse::setData

(PECL pecl_http >= 0.10.0)

HttpResponse::setDataSet data

Description

static bool HttpResponse::setData ( mixed $data )

Set the data to be sent.

Note: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.

Parameters

data

data to send

Return Values

Returns TRUE on success or FALSE on failure.

See Also



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

HttpResponse::setETag> <HttpResponse::setContentType
Last updated: Fri, 06 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites