HttpMessage::setRequestMethod

Example

 public bool HttpMessage::setRequestMethod ( string $method ) 

Description

Set the Request Method of the HTTP Message.

Return Values

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