EventHttpRequest::getResponseCode

(PECL event >= 1.4.0-beta)

EventHttpRequest::getResponseCodeReturns the response code

說(shuō)明

public EventHttpRequest::getResponseCode(): int

Returns the response code.

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Returns the response code of the request.

參見(jiàn)