HttpRequest::getResponseData()
HttpRequest::getResponseData - Get response data
Syntax
public HttpRequest::getResponseData ()
Arguments
-
Description
* Get all response data after the request has been sent.
Version
PHP PECL pecl_http >= 0.10.0
Return value
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.