MySQL 9.1.0
Source Code Documentation
http::base::status_code Namespace Reference

Typedefs

using name_type = const char *
 
using key_type = int
 

Functions

HTTP_COMMON_EXPORT name_type to_string (key_type key)
 

Variables

constexpr key_type Continue = 100
 
constexpr key_type SwitchingProtocols = 101
 
constexpr key_type Processing = 102
 
constexpr key_type EarlyHints = 103
 
constexpr key_type Ok = 200
 
constexpr key_type Created = 201
 
constexpr key_type Accepted = 202
 
constexpr key_type NonAuthoritiveInformation = 203
 
constexpr key_type NoContent = 204
 
constexpr key_type ResetContent = 205
 
constexpr key_type PartialContent = 206
 
constexpr key_type MultiStatus = 207
 
constexpr key_type AlreadyReported = 208
 
constexpr key_type InstanceManipulationUsed = 226
 
constexpr key_type MultipleChoices = 300
 
constexpr key_type MovedPermanently = 301
 
constexpr key_type Found = 302
 
constexpr key_type SeeOther = 303
 
constexpr key_type NotModified = 304
 
constexpr key_type UseProxy = 305
 
constexpr key_type TemporaryRedirect = 307
 
constexpr key_type PermanentRedirect = 308
 
constexpr key_type BadRequest = 400
 
constexpr key_type Unauthorized = 401
 
constexpr key_type PaymentRequired = 402
 
constexpr key_type Forbidden = 403
 
constexpr key_type NotFound = 404
 
constexpr key_type MethodNotAllowed = 405
 
constexpr key_type NotAcceptable = 406
 
constexpr key_type ProxyAuthenticationRequired = 407
 
constexpr key_type RequestTimeout = 408
 
constexpr key_type Conflicts = 409
 
constexpr key_type Gone = 410
 
constexpr key_type LengthRequired = 411
 
constexpr key_type PreconditionFailed = 412
 
constexpr key_type PayloadTooLarge = 413
 
constexpr key_type URITooLarge = 414
 
constexpr key_type UnsupportedMediaType = 415
 
constexpr key_type RangeNotSatisfiable = 416
 
constexpr key_type ExpectationFailed = 417
 
constexpr key_type IamaTeapot = 418
 
constexpr key_type MisdirectedRequest = 421
 
constexpr key_type UnprocessableEntity = 422
 
constexpr key_type Locked = 423
 
constexpr key_type FailedDependency = 424
 
constexpr key_type UpgradeRequired = 426
 
constexpr key_type PreconditionRequired = 428
 
constexpr key_type TooManyRequests = 429
 
constexpr key_type RequestHeaderFieldsTooLarge = 431
 
constexpr key_type UnavailableForLegalReasons = 451
 
constexpr key_type InternalError = 500
 
constexpr key_type NotImplemented = 501
 
constexpr key_type BadGateway = 502
 
constexpr key_type ServiceUnavailable = 503
 
constexpr key_type GatewayTimeout = 504
 
constexpr key_type HTTPVersionNotSupported = 505
 
constexpr key_type VariantAlsoNegotiates = 506
 
constexpr key_type InsufficientStorage = 507
 
constexpr key_type LoopDetected = 508
 
constexpr key_type NotExtended = 510
 
constexpr key_type NetworkAuthorizationRequired = 511
 

Typedef Documentation

◆ key_type

using http::base::status_code::key_type = typedef int

◆ name_type

using http::base::status_code::name_type = typedef const char *

Function Documentation

◆ to_string()

name_type http::base::status_code::to_string ( key_type  key)

Variable Documentation

◆ Accepted

constexpr key_type http::base::status_code::Accepted = 202
constexpr

◆ AlreadyReported

constexpr key_type http::base::status_code::AlreadyReported = 208
constexpr

◆ BadGateway

constexpr key_type http::base::status_code::BadGateway = 502
constexpr

◆ BadRequest

constexpr key_type http::base::status_code::BadRequest = 400
constexpr

◆ Conflicts

constexpr key_type http::base::status_code::Conflicts = 409
constexpr

◆ Continue

constexpr key_type http::base::status_code::Continue = 100
constexpr

◆ Created

constexpr key_type http::base::status_code::Created = 201
constexpr

◆ EarlyHints

constexpr key_type http::base::status_code::EarlyHints = 103
constexpr

◆ ExpectationFailed

constexpr key_type http::base::status_code::ExpectationFailed = 417
constexpr

◆ FailedDependency

constexpr key_type http::base::status_code::FailedDependency = 424
constexpr

◆ Forbidden

constexpr key_type http::base::status_code::Forbidden = 403
constexpr

◆ Found

constexpr key_type http::base::status_code::Found = 302
constexpr

◆ GatewayTimeout

constexpr key_type http::base::status_code::GatewayTimeout = 504
constexpr

◆ Gone

constexpr key_type http::base::status_code::Gone = 410
constexpr

◆ HTTPVersionNotSupported

constexpr key_type http::base::status_code::HTTPVersionNotSupported = 505
constexpr

◆ IamaTeapot

constexpr key_type http::base::status_code::IamaTeapot = 418
constexpr

◆ InstanceManipulationUsed

constexpr key_type http::base::status_code::InstanceManipulationUsed = 226
constexpr

◆ InsufficientStorage

constexpr key_type http::base::status_code::InsufficientStorage = 507
constexpr

◆ InternalError

constexpr key_type http::base::status_code::InternalError = 500
constexpr

◆ LengthRequired

constexpr key_type http::base::status_code::LengthRequired = 411
constexpr

◆ Locked

constexpr key_type http::base::status_code::Locked = 423
constexpr

◆ LoopDetected

constexpr key_type http::base::status_code::LoopDetected = 508
constexpr

◆ MethodNotAllowed

constexpr key_type http::base::status_code::MethodNotAllowed = 405
constexpr

◆ MisdirectedRequest

constexpr key_type http::base::status_code::MisdirectedRequest = 421
constexpr

◆ MovedPermanently

constexpr key_type http::base::status_code::MovedPermanently = 301
constexpr

◆ MultipleChoices

constexpr key_type http::base::status_code::MultipleChoices = 300
constexpr

◆ MultiStatus

constexpr key_type http::base::status_code::MultiStatus = 207
constexpr

◆ NetworkAuthorizationRequired

constexpr key_type http::base::status_code::NetworkAuthorizationRequired = 511
constexpr

◆ NoContent

constexpr key_type http::base::status_code::NoContent = 204
constexpr

◆ NonAuthoritiveInformation

constexpr key_type http::base::status_code::NonAuthoritiveInformation = 203
constexpr

◆ NotAcceptable

constexpr key_type http::base::status_code::NotAcceptable = 406
constexpr

◆ NotExtended

constexpr key_type http::base::status_code::NotExtended = 510
constexpr

◆ NotFound

constexpr key_type http::base::status_code::NotFound = 404
constexpr

◆ NotImplemented

constexpr key_type http::base::status_code::NotImplemented = 501
constexpr

◆ NotModified

constexpr key_type http::base::status_code::NotModified = 304
constexpr

◆ Ok

constexpr key_type http::base::status_code::Ok = 200
constexpr

◆ PartialContent

constexpr key_type http::base::status_code::PartialContent = 206
constexpr

◆ PayloadTooLarge

constexpr key_type http::base::status_code::PayloadTooLarge = 413
constexpr

◆ PaymentRequired

constexpr key_type http::base::status_code::PaymentRequired = 402
constexpr

◆ PermanentRedirect

constexpr key_type http::base::status_code::PermanentRedirect = 308
constexpr

◆ PreconditionFailed

constexpr key_type http::base::status_code::PreconditionFailed = 412
constexpr

◆ PreconditionRequired

constexpr key_type http::base::status_code::PreconditionRequired = 428
constexpr

◆ Processing

constexpr key_type http::base::status_code::Processing = 102
constexpr

◆ ProxyAuthenticationRequired

constexpr key_type http::base::status_code::ProxyAuthenticationRequired = 407
constexpr

◆ RangeNotSatisfiable

constexpr key_type http::base::status_code::RangeNotSatisfiable = 416
constexpr

◆ RequestHeaderFieldsTooLarge

constexpr key_type http::base::status_code::RequestHeaderFieldsTooLarge = 431
constexpr

◆ RequestTimeout

constexpr key_type http::base::status_code::RequestTimeout = 408
constexpr

◆ ResetContent

constexpr key_type http::base::status_code::ResetContent = 205
constexpr

◆ SeeOther

constexpr key_type http::base::status_code::SeeOther = 303
constexpr

◆ ServiceUnavailable

constexpr key_type http::base::status_code::ServiceUnavailable = 503
constexpr

◆ SwitchingProtocols

constexpr key_type http::base::status_code::SwitchingProtocols = 101
constexpr

◆ TemporaryRedirect

constexpr key_type http::base::status_code::TemporaryRedirect = 307
constexpr

◆ TooManyRequests

constexpr key_type http::base::status_code::TooManyRequests = 429
constexpr

◆ Unauthorized

constexpr key_type http::base::status_code::Unauthorized = 401
constexpr

◆ UnavailableForLegalReasons

constexpr key_type http::base::status_code::UnavailableForLegalReasons = 451
constexpr

◆ UnprocessableEntity

constexpr key_type http::base::status_code::UnprocessableEntity = 422
constexpr

◆ UnsupportedMediaType

constexpr key_type http::base::status_code::UnsupportedMediaType = 415
constexpr

◆ UpgradeRequired

constexpr key_type http::base::status_code::UpgradeRequired = 426
constexpr

◆ URITooLarge

constexpr key_type http::base::status_code::URITooLarge = 414
constexpr

◆ UseProxy

constexpr key_type http::base::status_code::UseProxy = 305
constexpr

◆ VariantAlsoNegotiates

constexpr key_type http::base::status_code::VariantAlsoNegotiates = 506
constexpr