RESTinio
Loading...
Searching...
No Matches
restinio::status_code Namespace Reference

Variables

RFC 2616 status code list.
constexpr http_status_code_t continue_ { 100 }
constexpr http_status_code_t switching_protocols { 101 }
constexpr http_status_code_t ok { 200 }
constexpr http_status_code_t created { 201 }
constexpr http_status_code_t accepted { 202 }
constexpr http_status_code_t non_authoritative_information { 203 }
constexpr http_status_code_t no_content { 204 }
constexpr http_status_code_t reset_content { 205 }
constexpr http_status_code_t partial_content { 206 }
constexpr http_status_code_t multiple_choices { 300 }
constexpr http_status_code_t moved_permanently { 301 }
constexpr http_status_code_t found { 302 }
constexpr http_status_code_t see_other { 303 }
constexpr http_status_code_t not_modified { 304 }
constexpr http_status_code_t use_proxy { 305 }
constexpr http_status_code_t temporary_redirect { 307 }
constexpr http_status_code_t bad_request { 400 }
constexpr http_status_code_t unauthorized { 401 }
constexpr http_status_code_t payment_required { 402 }
constexpr http_status_code_t forbidden { 403 }
constexpr http_status_code_t not_found { 404 }
constexpr http_status_code_t method_not_allowed { 405 }
constexpr http_status_code_t not_acceptable { 406 }
constexpr http_status_code_t proxy_authentication_required { 407 }
constexpr http_status_code_t request_time_out { 408 }
constexpr http_status_code_t conflict { 409 }
constexpr http_status_code_t gone { 410 }
constexpr http_status_code_t length_required { 411 }
constexpr http_status_code_t precondition_failed { 412 }
constexpr http_status_code_t payload_too_large { 413 }
constexpr http_status_code_t uri_too_long { 414 }
constexpr http_status_code_t unsupported_media_type { 415 }
constexpr http_status_code_t requested_range_not_satisfiable { 416 }
constexpr http_status_code_t expectation_failed { 417 }
constexpr http_status_code_t internal_server_error { 500 }
constexpr http_status_code_t not_implemented { 501 }
constexpr http_status_code_t bad_gateway { 502 }
constexpr http_status_code_t service_unavailable { 503 }
constexpr http_status_code_t gateway_time_out { 504 }
constexpr http_status_code_t http_version_not_supported { 505 }
Additional status codes.

Codes not covered with RFC 2616.

constexpr http_status_code_t permanent_redirect { 308 }
constexpr http_status_code_t processing { 102 }
constexpr http_status_code_t multi_status { 207 }
constexpr http_status_code_t unprocessable_entity { 422 }
constexpr http_status_code_t locked { 423 }
constexpr http_status_code_t failed_dependency { 424 }
constexpr http_status_code_t insufficient_storage { 507 }
constexpr http_status_code_t precondition_required { 428 }
constexpr http_status_code_t too_many_requests { 429 }
constexpr http_status_code_t request_header_fields_too_large { 431 }
constexpr http_status_code_t network_authentication_required { 511 }

Variable Documentation

◆ accepted

http_status_code_t restinio::status_code::accepted { 202 }
constexpr

Definition at line 2060 of file http_headers.hpp.

◆ bad_gateway

http_status_code_t restinio::status_code::bad_gateway { 502 }
constexpr

Definition at line 2103 of file http_headers.hpp.

◆ bad_request

http_status_code_t restinio::status_code::bad_request { 400 }
constexpr

Definition at line 2072 of file http_headers.hpp.

◆ conflict

http_status_code_t restinio::status_code::conflict { 409 }
constexpr

Definition at line 2081 of file http_headers.hpp.

◆ continue_

http_status_code_t restinio::status_code::continue_ { 100 }
constexpr

Definition at line 2055 of file http_headers.hpp.

◆ created

http_status_code_t restinio::status_code::created { 201 }
constexpr

Definition at line 2059 of file http_headers.hpp.

◆ expectation_failed

http_status_code_t restinio::status_code::expectation_failed { 417 }
constexpr

Definition at line 2100 of file http_headers.hpp.

◆ failed_dependency

http_status_code_t restinio::status_code::failed_dependency { 424 }
constexpr

Definition at line 2121 of file http_headers.hpp.

◆ forbidden

http_status_code_t restinio::status_code::forbidden { 403 }
constexpr

Definition at line 2075 of file http_headers.hpp.

◆ found

http_status_code_t restinio::status_code::found { 302 }
constexpr

Definition at line 2067 of file http_headers.hpp.

◆ gateway_time_out

http_status_code_t restinio::status_code::gateway_time_out { 504 }
constexpr

Definition at line 2105 of file http_headers.hpp.

◆ gone

http_status_code_t restinio::status_code::gone { 410 }
constexpr

Definition at line 2082 of file http_headers.hpp.

◆ http_version_not_supported

http_status_code_t restinio::status_code::http_version_not_supported { 505 }
constexpr

Definition at line 2106 of file http_headers.hpp.

◆ insufficient_storage

http_status_code_t restinio::status_code::insufficient_storage { 507 }
constexpr

Definition at line 2122 of file http_headers.hpp.

◆ internal_server_error

http_status_code_t restinio::status_code::internal_server_error { 500 }
constexpr

Definition at line 2101 of file http_headers.hpp.

◆ length_required

http_status_code_t restinio::status_code::length_required { 411 }
constexpr

Definition at line 2083 of file http_headers.hpp.

◆ locked

http_status_code_t restinio::status_code::locked { 423 }
constexpr

Definition at line 2120 of file http_headers.hpp.

◆ method_not_allowed

http_status_code_t restinio::status_code::method_not_allowed { 405 }
constexpr

Definition at line 2077 of file http_headers.hpp.

◆ moved_permanently

http_status_code_t restinio::status_code::moved_permanently { 301 }
constexpr

Definition at line 2066 of file http_headers.hpp.

◆ multi_status

http_status_code_t restinio::status_code::multi_status { 207 }
constexpr

Definition at line 2118 of file http_headers.hpp.

◆ multiple_choices

http_status_code_t restinio::status_code::multiple_choices { 300 }
constexpr

Definition at line 2065 of file http_headers.hpp.

◆ network_authentication_required

http_status_code_t restinio::status_code::network_authentication_required { 511 }
constexpr

Definition at line 2128 of file http_headers.hpp.

◆ no_content

http_status_code_t restinio::status_code::no_content { 204 }
constexpr

Definition at line 2062 of file http_headers.hpp.

◆ non_authoritative_information

http_status_code_t restinio::status_code::non_authoritative_information { 203 }
constexpr

Definition at line 2061 of file http_headers.hpp.

◆ not_acceptable

http_status_code_t restinio::status_code::not_acceptable { 406 }
constexpr

Definition at line 2078 of file http_headers.hpp.

◆ not_found

http_status_code_t restinio::status_code::not_found { 404 }
constexpr

Definition at line 2076 of file http_headers.hpp.

◆ not_implemented

http_status_code_t restinio::status_code::not_implemented { 501 }
constexpr

Definition at line 2102 of file http_headers.hpp.

◆ not_modified

http_status_code_t restinio::status_code::not_modified { 304 }
constexpr

Definition at line 2069 of file http_headers.hpp.

◆ ok

http_status_code_t restinio::status_code::ok { 200 }
constexpr

Definition at line 2058 of file http_headers.hpp.

◆ partial_content

http_status_code_t restinio::status_code::partial_content { 206 }
constexpr

Definition at line 2064 of file http_headers.hpp.

◆ payload_too_large

http_status_code_t restinio::status_code::payload_too_large { 413 }
constexpr

Definition at line 2089 of file http_headers.hpp.

◆ payment_required

http_status_code_t restinio::status_code::payment_required { 402 }
constexpr

Definition at line 2074 of file http_headers.hpp.

◆ permanent_redirect

http_status_code_t restinio::status_code::permanent_redirect { 308 }
constexpr

Definition at line 2114 of file http_headers.hpp.

◆ precondition_failed

http_status_code_t restinio::status_code::precondition_failed { 412 }
constexpr

Definition at line 2084 of file http_headers.hpp.

◆ precondition_required

http_status_code_t restinio::status_code::precondition_required { 428 }
constexpr

Definition at line 2125 of file http_headers.hpp.

◆ processing

http_status_code_t restinio::status_code::processing { 102 }
constexpr

Definition at line 2117 of file http_headers.hpp.

◆ proxy_authentication_required

http_status_code_t restinio::status_code::proxy_authentication_required { 407 }
constexpr

Definition at line 2079 of file http_headers.hpp.

◆ request_header_fields_too_large

http_status_code_t restinio::status_code::request_header_fields_too_large { 431 }
constexpr

Definition at line 2127 of file http_headers.hpp.

◆ request_time_out

http_status_code_t restinio::status_code::request_time_out { 408 }
constexpr

Definition at line 2080 of file http_headers.hpp.

◆ requested_range_not_satisfiable

http_status_code_t restinio::status_code::requested_range_not_satisfiable { 416 }
constexpr

Definition at line 2099 of file http_headers.hpp.

◆ reset_content

http_status_code_t restinio::status_code::reset_content { 205 }
constexpr

Definition at line 2063 of file http_headers.hpp.

◆ see_other

http_status_code_t restinio::status_code::see_other { 303 }
constexpr

Definition at line 2068 of file http_headers.hpp.

◆ service_unavailable

http_status_code_t restinio::status_code::service_unavailable { 503 }
constexpr

Definition at line 2104 of file http_headers.hpp.

◆ switching_protocols

http_status_code_t restinio::status_code::switching_protocols { 101 }
constexpr

Definition at line 2057 of file http_headers.hpp.

◆ temporary_redirect

http_status_code_t restinio::status_code::temporary_redirect { 307 }
constexpr

Definition at line 2071 of file http_headers.hpp.

◆ too_many_requests

http_status_code_t restinio::status_code::too_many_requests { 429 }
constexpr

Definition at line 2126 of file http_headers.hpp.

◆ unauthorized

http_status_code_t restinio::status_code::unauthorized { 401 }
constexpr

Definition at line 2073 of file http_headers.hpp.

◆ unprocessable_entity

http_status_code_t restinio::status_code::unprocessable_entity { 422 }
constexpr

Definition at line 2119 of file http_headers.hpp.

◆ unsupported_media_type

http_status_code_t restinio::status_code::unsupported_media_type { 415 }
constexpr

Definition at line 2098 of file http_headers.hpp.

◆ uri_too_long

http_status_code_t restinio::status_code::uri_too_long { 414 }
constexpr

Definition at line 2096 of file http_headers.hpp.

◆ use_proxy

http_status_code_t restinio::status_code::use_proxy { 305 }
constexpr

Definition at line 2070 of file http_headers.hpp.