RESTinio
|
Tools for working with the value of Connection HTTP-field. More...
#include <connection.hpp>
Public Types | |
using | value_container_t = std::vector< std::string > |
Static Public Member Functions | |
static RESTINIO_NODISCARD auto | make_parser () |
A factory function for a parser of Connection value. More... | |
static RESTINIO_NODISCARD expected_t< connection_value_t, restinio::easy_parser::parse_error_t > | try_parse (string_view_t what) |
An attempt to parse Connection HTTP-field. More... | |
Public Attributes | |
value_container_t | values |
Tools for working with the value of Connection HTTP-field.
This struct represents parsed value of HTTP-field Connection (see https://tools.ietf.org/html/rfc7230#section-6):
Connection = 1#connection-option connection-option = token
Definition at line 40 of file connection.hpp.
using restinio::http_field_parsers::connection_value_t::value_container_t = std::vector< std::string > |
Definition at line 42 of file connection.hpp.
|
inlinestatic |
A factory function for a parser of Connection value.
Definition at line 53 of file connection.hpp.
|
inlinestatic |
An attempt to parse Connection HTTP-field.
Definition at line 69 of file connection.hpp.
value_container_t restinio::http_field_parsers::connection_value_t::values |
Definition at line 44 of file connection.hpp.