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