update : 2015.11.03
php.shukuma.com

검색:
 
 
Set request method

HttpMessage::setRequestMethod

(PECL pecl_http >= 0.10.0)

HttpMessage::setRequestMethodSet request method

설명

public bool HttpMessage::setRequestMethod ( string $method )

Set the Request Method of the HTTP Message.

인수

method

the request method name

반환값

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