EventHttpRequest::getResponseCode
(PECL event >= 1.4.0-beta)
EventHttpRequest::getResponseCode — Returns the response code
說明
public
EventHttpRequest::getResponseCode(): 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