RESTinio
Loading...
Searching...
No Matches
restinio::http_field_parsers::impl::ows_producer_t Class Reference

A producer for OWS. More...

#include <basics.hpp>

Inheritance diagram for restinio::http_field_parsers::impl::ows_producer_t:
restinio::easy_parser::impl::producer_tag< std::optional< char > >

Public Member Functions

expected_t< result_type, parse_error_ttry_parse (source_t &from) const noexcept

Additional Inherited Members

Public Types inherited from restinio::easy_parser::impl::producer_tag< std::optional< char > >
using result_type
Static Public Attributes inherited from restinio::easy_parser::impl::producer_tag< std::optional< char > >
static constexpr entity_type_t entity_type

Detailed Description

A producer for OWS.

If an OWS found in the input stream it produces non-empty std::optional<char> with SP as the value.

See: https://tools.ietf.org/html/rfc7230

Since
v.0.6.1

Definition at line 483 of file basics.hpp.

Member Function Documentation

◆ try_parse()

expected_t< result_type, parse_error_t > restinio::http_field_parsers::impl::ows_producer_t::try_parse ( source_t & from) const
inlinenodiscardnoexcept

Definition at line 488 of file basics.hpp.


The documentation for this class was generated from the following file: