RESTinio
|
Typedefs | |
template<typename Parsed_Field_Type > | |
using | result_variant_t = variant_t< Parsed_Field_Type, field_not_found_t, restinio::easy_parser::parse_error_t > |
Type of a variant to be returned as the result of attempt to parse HTTP-field. More... | |
Functions | |
template<typename Parsed_Field_Type > | |
RESTINIO_NODISCARD result_variant_t< Parsed_Field_Type > | try_extract_field_value_from (optional_t< string_view_t > opt_value, string_view_t default_value) |
using restinio::http_field_parsers::try_extract_field_details::result_variant_t = typedef variant_t< Parsed_Field_Type, field_not_found_t, restinio::easy_parser::parse_error_t > |
Type of a variant to be returned as the result of attempt to parse HTTP-field.
Definition at line 52 of file try_parse_field.hpp.
RESTINIO_NODISCARD result_variant_t< Parsed_Field_Type > restinio::http_field_parsers::try_extract_field_details::try_extract_field_value_from | ( | optional_t< string_view_t > | opt_value, |
string_view_t | default_value | ||
) |
Definition at line 84 of file try_parse_field.hpp.