|
RESTinio
|
A template for a producer that handles non-empty list of comma-separated values. More...
#include <basics.hpp>
Public Member Functions | |
| non_empty_comma_separated_list_producer_t (Element_Producer &&element) | |
| RESTINIO_NODISCARD expected_t< result_type, parse_error_t > | try_parse (source_t &from) |
Private Attributes | |
| Element_Producer | m_element |
Additional Inherited Members | |
Public Types inherited from restinio::easy_parser::impl::producer_tag< Container > | |
| using | result_type = Container |
Static Public Attributes inherited from restinio::easy_parser::impl::producer_tag< Container > | |
| static constexpr entity_type_t | entity_type |
A template for a producer that handles non-empty list of comma-separated values.
That producer handles the following rule:
1#element => *( "," OWS ) element *( OWS "," [ OWS element ] )
See: https://tools.ietf.org/html/rfc7230 (section "7. ABNF List Extension: #rule")
| Container | the type of container to be produced. |
| Element_Producer | the type of the producer of a single item. |
Definition at line 1316 of file basics.hpp.
|
inline |
Definition at line 1327 of file basics.hpp.
|
inline |
Definition at line 1334 of file basics.hpp.
|
private |
Definition at line 1322 of file basics.hpp.