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

search for in the

HttpRequest::getResponseHeader> <HttpRequest::getResponseCookies
Last updated: Fri, 20 Nov 2009

view this page in

HttpRequest::getResponseData

(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseDataGet response data

Description

public array HttpRequest::getResponseData ( void )

* Get all response data after the request has been sent.

If redirects were allowed and several responses were received, the data references the last received response.

Return Values

Returns an associative array with the key "headers" containing an associative array holding all response headers, as well as the key "body" containing a string with the response body.



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

 
show source | credits | stats | sitemap | contact | advertising | mirror sites