©
本文档使用
php中文网手册 发布
(PECL pecl_http >= 0.10.0)
HttpMessage::setRequestMethod — Set request method
$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.