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

Namespaces

namespace  Pos
 

Typedefs

using key_type = int
 
using pos_type = unsigned
 
using Bitset = std::bitset< Pos::_LAST+1 >
 

Functions

HTTP_COMMON_EXPORT key_type from_string (const std::string_view &method_name)
 
HTTP_COMMON_EXPORT pos_type from_string_to_post (const std::string_view &method)
 

Variables

constexpr key_type Unknown {-1}
 
constexpr key_type Get {1 << Pos::Get}
 
constexpr key_type Post {1 << Pos::Post}
 
constexpr key_type Head {1 << Pos::Head}
 
constexpr key_type Put {1 << Pos::Put}
 
constexpr key_type Delete {1 << Pos::Delete}
 
constexpr key_type Options {1 << Pos::Options}
 
constexpr key_type Trace {1 << Pos::Trace}
 
constexpr key_type Connect {1 << Pos::Connect}
 
constexpr key_type Patch {1 << Pos::Patch}
 

Typedef Documentation

◆ Bitset

using http::base::method::Bitset = typedef std::bitset<Pos::_LAST + 1>

◆ key_type

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

◆ pos_type

using http::base::method::pos_type = typedef unsigned

Function Documentation

◆ from_string()

key_type http::base::method::from_string ( const std::string_view &  method_name)

◆ from_string_to_post()

pos_type http::base::method::from_string_to_post ( const std::string_view &  method)

Variable Documentation

◆ Connect

constexpr key_type http::base::method::Connect {1 << Pos::Connect}
constexpr

◆ Delete

constexpr key_type http::base::method::Delete {1 << Pos::Delete}
constexpr

◆ Get

constexpr key_type http::base::method::Get {1 << Pos::Get}
constexpr

◆ Head

constexpr key_type http::base::method::Head {1 << Pos::Head}
constexpr

◆ Options

constexpr key_type http::base::method::Options {1 << Pos::Options}
constexpr

◆ Patch

constexpr key_type http::base::method::Patch {1 << Pos::Patch}
constexpr

◆ Post

constexpr key_type http::base::method::Post {1 << Pos::Post}
constexpr

◆ Put

constexpr key_type http::base::method::Put {1 << Pos::Put}
constexpr

◆ Trace

constexpr key_type http::base::method::Trace {1 << Pos::Trace}
constexpr

◆ Unknown

constexpr key_type http::base::method::Unknown {-1}
constexpr