PHP Doku:: Set request method - function.httpmessage-setrequestmethod.html

Verlauf / Chronik / History: (1) anzeigen

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

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpMessage class

<<HttpMessage::setHttpVersion

HttpMessage::setRequestUrl>>

HttpMessage::setRequestMethod

(PECL pecl_http >= 0.10.0)

HttpMessage::setRequestMethodSet request method

Beschreibung

public bool HttpMessage::setRequestMethod ( string $method )

Set the Request Method of the HTTP Message.

Parameter-Liste

method

the request method name

Rückgabewerte

Returns TRUE on success, or FALSE if the message is not of type HttpMessage::TYPE_REQUEST or an invalid request method was supplied.


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