downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

HttpRequest::getResponseBody> <HttpRequest::getRawResponseMessage
[edit] Last updated: Fri, 17 May 2013

view this page in

HttpRequest::getRequestMessage

(PECL pecl_http >= 0.11.0)

HttpRequest::getRequestMessageGet request message

Descrierea

public HttpMessage HttpRequest::getRequestMessage ( void )

Get sent HTTP message.

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 sent requests within this request cycle.

Notă:

Note that the internal request message is immutable, that means that the request message received through HttpRequest::getRequestMessage() will always look the same for the same request, regardless of any changes you may have made to the returned object.

Valorile întoarse

Returns an HttpMessage object representing the sent request.

Erori/Excepții

Throws HttpMalformedHeadersException, HttpEncodingException.



add a note add a note User Contributed Notes HttpRequest::getRequestMessage - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites