66 else if( 0xC0u == (
byte & 0xE0u) )
71 else if( 0xE0u == (
byte & 0xF0u) )
76 else if( 0xF0u == (
byte & 0xF8u) )
101 if( 0x80u == (
byte & 0xC0u) )
128 if( 0x80u == (
byte & 0xC0u) )
144 if( 0x80u == (
byte & 0xC0u) )
160 if( 0x80u == (
byte & 0xC0u) )
190 if( 0x80u == (
byte & 0xC0u) )
206 if( 0x80u == (
byte & 0xC0u) )
Helper class for checking UTF-8 byte sequence during parsing URI or incoming byte stream.
void on_fourth_of_four(std::uint8_t byte) noexcept
bool process_byte(std::uint8_t byte) noexcept
void on_third_of_three(std::uint8_t byte) noexcept
void on_second_of_three(std::uint8_t byte) noexcept
state_t
Enumeration of all possible checker states.
bool finalized() const noexcept
void on_second_of_four(std::uint8_t byte) noexcept
void on_third_of_four(std::uint8_t byte) noexcept
std::uint32_t current_symbol() const noexcept
void on_first_byte(std::uint8_t byte) noexcept
std::uint32_t m_current_symbol
The current UNICODE symbol.
void on_second_of_two(std::uint8_t byte) noexcept
state_t m_state
The current state of the checker.
Detection of compiler version and absence of various features.
run_on_this_thread_settings_t< Traits > on_this_thread()
A special marker for the case when http_server must be run on the context of the current thread.