PHP 5.6.0 released

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top