http
This class provides common HTTP status codes. Note: This class is not instantiatable, please use constant http
instead
class http
This class does not inherit to any class.
bad_gateway
— HTTP Bad Gateway (502)bad_request
— HTTP Bad Request (400)forbidden
— HTTP Forbidden (403)gateway_timeout
— HTTP Gateway Timeout (504)internal_server_error
— HTTP Internal Server Error (500)not_found
— HTTP Not Found (404)ok
— HTTP OK (200)service_unavailable
— HTTP Service Unavailable (503)unauthorised
— HTTP Unauthorised (401)This class does not have member functions.