HttpRequest::getResponseMessage
(PECL pecl_http >= 0.10.0)
HttpRequest::getResponseMessage — Get response message
Описание
public
HttpMessage HttpRequest::getResponseMessage
(
void
)
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.
Errors/Exceptions
Throws HttpException, HttpRuntimeException.