(PECL pecl_http >= 0.10.0)
HttpRequest::setMethod — Set method
$request_method
Set the request method.
request_method
the request method to use
如果成功則回傳 TRUE,失敗則回傳 FALSE。
TRUE
FALSE