RESTinio
|
A producer for token. More...
#include <basics.hpp>
Public Member Functions | |
RESTINIO_NODISCARD expected_t< result_type, parse_error_t > | try_parse (source_t &from) const |
Static Private Member Functions | |
static RESTINIO_NODISCARD optional_t< parse_error_t > | try_parse_value (source_t &from, std::string &accumulator) |
static RESTINIO_NODISCARD constexpr bool | is_token_char (const char ch) noexcept |
Additional Inherited Members | |
![]() | |
using | result_type = std::string |
![]() | |
static constexpr entity_type_t | entity_type |
A producer for token.
If a token is found in the input stream it produces std::string with the value of that token.
See: https://tools.ietf.org/html/rfc7230
Definition at line 522 of file basics.hpp.
|
inlinestaticconstexprprivatenoexcept |
Definition at line 560 of file basics.hpp.
|
inline |
Definition at line 568 of file basics.hpp.
|
inlinestaticprivate |
Definition at line 526 of file basics.hpp.