RESTinio
|
A producer that expects a fragment in the input and produces boolean value if that fragment is found. More...
#include <easy_parser.hpp>
Public Member Functions | |
caseless_exact_fragment_producer_t (std::string fragment) | |
RESTINIO_NODISCARD expected_t< bool, parse_error_t > | try_parse (source_t &from) |
Private Attributes | |
std::string | m_fragment |
Additional Inherited Members | |
![]() | |
using | result_type = bool |
![]() | |
static constexpr entity_type_t | entity_type |
A producer that expects a fragment in the input and produces boolean value if that fragment is found.
The comparison is performed in case-insensitive manner.
Definition at line 3503 of file easy_parser.hpp.
|
inline |
Definition at line 3509 of file easy_parser.hpp.
|
inline |
Definition at line 3523 of file easy_parser.hpp.
|
private |
Definition at line 3506 of file easy_parser.hpp.