HttpMessage::setRequestMethod

(PECL pecl_http >= 0.10.0)

HttpMessage::setRequestMethodSet request method

Descrição

public bool HttpMessage::setRequestMethod ( string $method )

Set the Request Method of the HTTP Message.

Parâmetros

method

the request method name

Valor Retornado

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



User Contributed Notes
HttpMessage::setRequestMethod
There are no user contributed notes for this page.

HttpMessage::setRequestUrl> <HttpMessage::setHttpVersion
Last updated: Fri, 30 Dec 2011