Response.getStatus

Get the response status code.

The status code should be the first thing to be checked after receiving a response, it defines whether it is a success, a failure or anything else (see the Status enumeration).

class Response
const
getStatus
()

Return Value

Type: Status

Status code of the response.

Meta