ゴミ箱
|
#include <basic_parser.hpp>
Protected Types | |
enum | state { state::nothing_yet = 0, state::start_line, state::fields, state::body0, state::body, state::body_to_eof0, state::body_to_eof, state::chunk_header0, state::chunk_header, state::chunk_body, state::complete } |
Protected Member Functions | |
void | parse_reason (char const *&it, char const *last, string_view &result, error_code &ec) |
template<std::size_t N> | |
void | parse_field (char const *&p, char const *last, string_view &name, string_view &value, static_string< N > &buf, error_code &ec) |
void | parse_chunk_extensions (char const *&it, char const *last, error_code &ec) |
Static Protected Member Functions | |
static bool | is_pathchar (char c) |
static bool | unhex (unsigned char &d, char c) |
static bool | is_digit (char c) |
static bool | is_print (char c) |
template<class FwdIt > | |
static FwdIt | trim_front (FwdIt it, FwdIt const &end) |
template<class RanIt > | |
static RanIt | trim_back (RanIt it, RanIt const &first) |
static string_view | make_string (char const *first, char const *last) |
static std::pair< char const *, bool > | find_fast (char const *buf, char const *buf_end, char const *ranges, size_t ranges_size) |
static char const * | find_eol (char const *it, char const *last, error_code &ec) |
static char const * | find_eom (char const *p, char const *last) |
static char const * | parse_token_to_eol (char const *p, char const *last, char const *&token_last, error_code &ec) |
template<class Iter , class Unsigned > | |
static bool | parse_dec (Iter it, Iter last, Unsigned &v) |
template<class Iter , class Unsigned > | |
static bool | parse_hex (Iter &it, Unsigned &v) |
static bool | parse_crlf (char const *&it) |
static void | parse_method (char const *&it, char const *last, string_view &result, error_code &ec) |
static void | parse_target (char const *&it, char const *last, string_view &result, error_code &ec) |
static void | parse_version (char const *&it, char const *last, int &result, error_code &ec) |
static void | parse_status (char const *&it, char const *last, unsigned short &result, error_code &ec) |
Static Protected Attributes | |
static std::size_t constexpr | max_obs_fold = 4096 |
|
strongprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
staticprotected |