14 #include <restinio/helpers/http_field_parsers/basics.hpp> 16 #include <restinio/variant.hpp> 38 template<
typename T >
56 template<
typename T >
73 template<
typename T >
84 template<
typename T >
95 template<
typename T >
125 template<
typename T >
149 template<
typename T >
208 template<
typename T >
285 template<
typename T >
A description of a range value of units those are not "bytes".
Value of range for the case where only length of range's suffix is defined.
Value of range for the case where both ends of the range are defined.
RESTINIO_NODISCARD auto make_other_ranges_specifier_parser()
Factory for creation of a parser for other_ranges_specifier values.
static RESTINIO_NODISCARD expected_t< range_value_t, restinio::easy_parser::parse_error_t > try_parse(string_view_t what)
An attempt to parse Range HTTP-field.
Value of range for the case where only left border of the range is defined.
RESTINIO_NODISCARD auto try_parse_field(const generic_request_t< Extra_Data > &req, http_field_t field_id, string_view_t default_value=string_view_t{})
A helper function for extraction and parsing a value of HTTP-field.
std::enable_if< std::is_same< Parameter_Container, query_string_params_t >::value||std::is_same< Parameter_Container, router::route_params_t >::value, optional_t< Value_Type > >::type opt_value(const Parameter_Container ¶ms, string_view_t key)
Gets the value of a parameter specified by key wrapped in optional_t<Value_Type> if parameter exists ...
std::vector< byte_range_spec_t< T > > ranges