MySQL 8.0.39
Source Code Documentation
HttpStatusCode Namespace Reference

Typedefs

using name_type = const char *
 
using key_type = int
 

Functions

name_type get_default_status_text (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 HttpStatusCode::key_type = typedef int

◆ name_type

using HttpStatusCode::name_type = typedef const char *

Function Documentation

◆ get_default_status_text()

name_type HttpStatusCode::get_default_status_text ( key_type  key)
inline

Variable Documentation

◆ Accepted

constexpr key_type HttpStatusCode::Accepted = 202
constexpr

◆ AlreadyReported

constexpr key_type HttpStatusCode::AlreadyReported = 208
constexpr

◆ BadGateway

constexpr key_type HttpStatusCode::BadGateway = 502
constexpr

◆ BadRequest

constexpr key_type HttpStatusCode::BadRequest = 400
constexpr

◆ Conflicts

constexpr key_type HttpStatusCode::Conflicts = 409
constexpr

◆ Continue

constexpr key_type HttpStatusCode::Continue = 100
constexpr

◆ Created

constexpr key_type HttpStatusCode::Created = 201
constexpr

◆ EarlyHints

constexpr key_type HttpStatusCode::EarlyHints = 103
constexpr

◆ ExpectationFailed

constexpr key_type HttpStatusCode::ExpectationFailed = 417
constexpr

◆ FailedDependency

constexpr key_type HttpStatusCode::FailedDependency = 424
constexpr

◆ Forbidden

constexpr key_type HttpStatusCode::Forbidden = 403
constexpr

◆ Found

constexpr key_type HttpStatusCode::Found = 302
constexpr

◆ GatewayTimeout

constexpr key_type HttpStatusCode::GatewayTimeout = 504
constexpr

◆ Gone

constexpr key_type HttpStatusCode::Gone = 410
constexpr

◆ HTTPVersionNotSupported

constexpr key_type HttpStatusCode::HTTPVersionNotSupported = 505
constexpr

◆ IamaTeapot

constexpr key_type HttpStatusCode::IamaTeapot = 418
constexpr

◆ InstanceManipulationUsed

constexpr key_type HttpStatusCode::InstanceManipulationUsed = 226
constexpr

◆ InsufficientStorage

constexpr key_type HttpStatusCode::InsufficientStorage = 507
constexpr

◆ InternalError

constexpr key_type HttpStatusCode::InternalError = 500
constexpr

◆ LengthRequired

constexpr key_type HttpStatusCode::LengthRequired = 411
constexpr

◆ Locked

constexpr key_type HttpStatusCode::Locked = 423
constexpr

◆ LoopDetected

constexpr key_type HttpStatusCode::LoopDetected = 508
constexpr

◆ MethodNotAllowed

constexpr key_type HttpStatusCode::MethodNotAllowed = 405
constexpr

◆ MisdirectedRequest

constexpr key_type HttpStatusCode::MisdirectedRequest = 421
constexpr

◆ MovedPermanently

constexpr key_type HttpStatusCode::MovedPermanently = 301
constexpr

◆ MultipleChoices

constexpr key_type HttpStatusCode::MultipleChoices = 300
constexpr

◆ MultiStatus

constexpr key_type HttpStatusCode::MultiStatus = 207
constexpr

◆ NetworkAuthorizationRequired

constexpr key_type HttpStatusCode::NetworkAuthorizationRequired = 511
constexpr

◆ NoContent

constexpr key_type HttpStatusCode::NoContent = 204
constexpr

◆ NonAuthoritiveInformation

constexpr key_type HttpStatusCode::NonAuthoritiveInformation = 203
constexpr

◆ NotAcceptable

constexpr key_type HttpStatusCode::NotAcceptable = 406
constexpr

◆ NotExtended

constexpr key_type HttpStatusCode::NotExtended = 510
constexpr

◆ NotFound

constexpr key_type HttpStatusCode::NotFound = 404
constexpr

◆ NotImplemented

constexpr key_type HttpStatusCode::NotImplemented = 501
constexpr

◆ NotModified

constexpr key_type HttpStatusCode::NotModified = 304
constexpr

◆ Ok

constexpr key_type HttpStatusCode::Ok = 200
constexpr

◆ PartialContent

constexpr key_type HttpStatusCode::PartialContent = 206
constexpr

◆ PayloadTooLarge

constexpr key_type HttpStatusCode::PayloadTooLarge = 413
constexpr

◆ PaymentRequired

constexpr key_type HttpStatusCode::PaymentRequired = 402
constexpr

◆ PermanentRedirect

constexpr key_type HttpStatusCode::PermanentRedirect = 308
constexpr

◆ PreconditionFailed

constexpr key_type HttpStatusCode::PreconditionFailed = 412
constexpr

◆ PreconditionRequired

constexpr key_type HttpStatusCode::PreconditionRequired = 428
constexpr

◆ Processing

constexpr key_type HttpStatusCode::Processing = 102
constexpr

◆ ProxyAuthenticationRequired

constexpr key_type HttpStatusCode::ProxyAuthenticationRequired = 407
constexpr

◆ RangeNotSatisfiable

constexpr key_type HttpStatusCode::RangeNotSatisfiable = 416
constexpr

◆ RequestHeaderFieldsTooLarge

constexpr key_type HttpStatusCode::RequestHeaderFieldsTooLarge = 431
constexpr

◆ RequestTimeout

constexpr key_type HttpStatusCode::RequestTimeout = 408
constexpr

◆ ResetContent

constexpr key_type HttpStatusCode::ResetContent = 205
constexpr

◆ SeeOther

constexpr key_type HttpStatusCode::SeeOther = 303
constexpr

◆ ServiceUnavailable

constexpr key_type HttpStatusCode::ServiceUnavailable = 503
constexpr

◆ SwitchingProtocols

constexpr key_type HttpStatusCode::SwitchingProtocols = 101
constexpr

◆ TemporaryRedirect

constexpr key_type HttpStatusCode::TemporaryRedirect = 307
constexpr

◆ TooManyRequests

constexpr key_type HttpStatusCode::TooManyRequests = 429
constexpr

◆ Unauthorized

constexpr key_type HttpStatusCode::Unauthorized = 401
constexpr

◆ UnavailableForLegalReasons

constexpr key_type HttpStatusCode::UnavailableForLegalReasons = 451
constexpr

◆ UnprocessableEntity

constexpr key_type HttpStatusCode::UnprocessableEntity = 422
constexpr

◆ UnsupportedMediaType

constexpr key_type HttpStatusCode::UnsupportedMediaType = 415
constexpr

◆ UpgradeRequired

constexpr key_type HttpStatusCode::UpgradeRequired = 426
constexpr

◆ URITooLarge

constexpr key_type HttpStatusCode::URITooLarge = 414
constexpr

◆ UseProxy

constexpr key_type HttpStatusCode::UseProxy = 305
constexpr

◆ VariantAlsoNegotiates

constexpr key_type HttpStatusCode::VariantAlsoNegotiates = 506
constexpr