HttpMessage
在线手册:中文  英文

HttpMessage::getRequestMethod

(PECL pecl_http >= 0.10.0)

HttpMessage::getRequestMethodGet request method

说明

public string HttpMessage::getRequestMethod ( void )

Get the Request Method of the Message.

返回值

Returns the request method name on success, or FALSE if the message is not of type HttpMessage::TYPE_REQUEST.


HttpMessage
在线手册:中文  英文
易百教程