Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration HttpStatusCode Const

Enum for http response status codes

Index

Enumeration Members

BAD_REQUEST: 400

The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, too large size, invalid request message framing, or deceptive request routing).

FORBIDDEN: 403

Use this when the access is tied to the application logic, such as insufficient rights to a resource

NOT_MODIFIED: 304

Use this when the client already has the most recent version of a resource. For example, when calling get-next-event, if there are no events within the timeout period, the server will return a 304 to indicate that there are no events.

NO_CONTENT: 204

The server successfully processed the request and is not returning any content.

OK: 200

Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request, the response will contain an entity describing or containing the result of the action.

SERVICE_UNAVAILABLE: 503

The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state.

TOO_MANY_REQUESTS: 429

The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.

URI_TOO_LARGE: 414

This error code means that the URL is too long for the server to process

Generated using TypeDoc