update : 2015.11.03
php.shukuma.com

검색:
 
 
Get response message

HttpRequest::getResponseMessage

(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseMessageGet response message

설명

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.

반환값

Returns an HttpMessage object of the response.

오류/예외

Throws HttpException, HttpRuntimeException.