JavaScript Editor Javascript debugger     Website design 

HttpRequest::getResponseCode

Get response code ()
int HttpRequest::getResponseCode ( )

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.

Return Values

Returns an int representing the response code.