HttpRequest::setMethod

(PECL pecl_http >= 0.10.0)

HttpRequest::setMethodSet method

Опис

public bool HttpRequest::setMethod ( int $request_method )

Set the request method.

Параметри

request_method

the request method to use

Значення, що повертаються

Повертає TRUE в успішному випадку або FALSE в разі помилки.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top