HttpMessage::setRequestMethod

 public bool HttpMessage::setRequestMethod ( string $method ) 

説明

Set the Request Method of the HTTP Message.

戻り値

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