JavaScript Editor Javascript debugger     Website design 


Get response message ()
HttpMessage HttpRequest::getResponseMessage ( )

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.

Return Values

Returns an HttpMessage object of the response.


Throws HttpException, HttpRuntimeException.