2
3
6
7
8
9
10
14#include <restinio/helpers/http_field_parsers/basics.hpp>
26
27
28
29
30
31
32
33
34
35
36
37
38
39
53
54
55
56
62 non_empty_comma_separated_list_p< item_container_t >(
64 token_p() >> to_lower() >> &item_t::charset,
65 maybe( weight_p() >> &item_t::weight )
67 ) >> &accept_charset_value_t::charsets
72
73
74
75
A class for holding the parsed value of qvalue from RFC7231.
constexpr qvalue_t(qvalue_details::extremum_max_t) noexcept
static constexpr qvalue_details::extremum_max_t maximum
The indicator that tells that new qvalue object should have the maximal allowed value.
Tools for working with the value of Accept-Charset HTTP-field.
static expected_t< accept_charset_value_t, restinio::easy_parser::parse_error_t > try_parse(string_view_t what)
An attempt to parse Accept-Charset HTTP-field.
static auto make_parser()
A factory function for a parser of Accept-Charset value.
item_container_t charsets