(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseCodeGet response code


public int HttpRequest::getResponseCode ( void )

Get the response code after the request has been sent.

If redirects were allowed and several responses were received, the data references the last received response.

Значення, що повертаються

Returns an int representing the response code.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top