HttpRequest::getResponseMessage
(PECL pecl_http >= 0.10.0)
HttpRequest::getResponseMessage — Get response message
说明
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.
There are no user contributed notes for this page.
