HttpRequest
PHP Manual

HttpRequest::getRawResponseMessage

(PECL pecl_http >= 0.21.0)

HttpRequest::getRawResponseMessageGet raw response message

Description

public string HttpRequest::getRawResponseMessage ( void )

Get the entire HTTP response.

Parameters

Return Values

Returns the complete web server response, including the headers in a form of a string.


HttpRequest
PHP Manual