PHP Doku:: Create HTTP object regarding message type - function.httpmessage-tomessagetypeobject.html

Verlauf / Chronik / History: (13) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPThe HttpMessage classHttpMessage::toMessageTypeObject

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpMessage class

<<HttpMessage::setType

HttpMessage::toString>>

HttpMessage::toMessageTypeObject

(PECL pecl_http >= 0.22.0)

HttpMessage::toMessageTypeObjectCreate HTTP object regarding message type

Beschreibung

public HttpRequest|HttpResponse HttpMessage::toMessageTypeObject ( void )

Creates an object regarding to the type of the message.

Parameter-Liste

Rückgabewerte

Returns either an HttpRequest or HttpResponse object on success, or NULL on failure.

Fehler/Exceptions

Throws HttpRuntimeException, HttpMessageTypeException, HttpHeaderException.


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",...)