PHP 5.4.33 Released

HttpRequest::getResponseMessage

(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseMessageGet response message

Descrizione

public HttpMessage HttpRequest::getResponseMessage ( void )

Get the full response as HttpMessage object after the request has been sent.

If redirects were allowed and several responses were received, the data references the last received response. Use HttpMessage::getParentMessage() to access the data of previously received responses within this request cycle.

Valori restituiti

Returns an HttpMessage object of the response.

Errori/Eccezioni

Throws HttpException, HttpRuntimeException.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top