HttpRequest::getResponseCode()
HttpRequest::getResponseCode - Get response code
Syntax
public HttpRequest::getResponseCode ()
Arguments
-
Description
Get the response code after the request has been sent.
Version
PHP PECL pecl_http >= 0.10.0
Return value
Returns an int representing the response code.