PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

EventHttpRequest::getResponseCode

(PECL event >= 1.4.0-beta)

EventHttpRequest::getResponseCodeReturns the response code

说明

public EventHttpRequest::getResponseCode ( void ) : int

Returns the response code.

参数

此函数没有参数。

返回值

Returns the response code of the request.

参见