HttpMessage::setRequestMethod

(PECL pecl_http:0.10.0-1.5.5)

HttpMessage::setRequestMethod — Set 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.

[an error occurred while processing the directive]

Коментарии

404 Not Found

404 Not Found


nginx

    Поддержать сайт на родительском проекте КГБ