EventHttpRequest::getResponseCode
(PECL event >= 1.4.0-beta)
EventHttpRequest::getResponseCode — Returns the response code
说明
public
EventHttpRequest::getResponseCode
( void
) : int
Returns the response code.
参数
此函数没有参数。
返回值
Returns the response code of the request.
参见
- EventHttpRequest::getCommand() - Returns the request command(method)
- EventHttpRequest::getHost() - Returns the request host
- EventHttpRequest::getUri() - Returns the request URI