HttpMessage::setRequestMethod Set request method &reftitle.description; public boolHttpMessage::setRequestMethod stringmethod Set the Request Method of the HTTP Message. &reftitle.parameters; method the request method name &reftitle.returnvalues; Returns TRUE on success, or FALSE if the message is not of type HttpMessage::TYPE_REQUEST or an invalid request method was supplied.