RESTinio
|
A producer for comment. More...
#include <basics.hpp>
Public Member Functions | |
RESTINIO_NODISCARD expected_t< result_type, parse_error_t > | try_parse (source_t &from) const |
Additional Inherited Members | |
![]() | |
using | result_type = std::string |
![]() | |
static constexpr entity_type_t | entity_type |
A producer for comment.
If a comment is found in the input stream it produces std::string with the value of that token.
Comment is defined that way:
comment = "(" *( ctext / quoted-pair / comment ) ")" ctext = HTAB / SP / %x21-27 / %x2A-5B / %x5D-7E / obs-text quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
See: https://tools.ietf.org/html/rfc7230
Definition at line 762 of file basics.hpp.
|
inline |
Definition at line 1127 of file basics.hpp.