PHP Doku:: Get request message - function.httprequest-getrequestmessage.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPThe HttpRequestHttpRequest::getRequestMessage

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpRequest

<<HttpRequest::getRawResponseMessage

HttpRequest::getResponseBody>>

HttpRequest::getRequestMessage

(PECL pecl_http >= 0.11.0)

HttpRequest::getRequestMessageGet request message

Beschreibung

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.

Hinweis:

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.

Rückgabewerte

Returns an HttpMessage object representing the sent request.

Fehler/Exceptions

Throws HttpMalformedHeadersException, HttpEncodingException.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)