Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

http::basic_fields::writer
PrevUpHomeNext

The algorithm used to serialize the header.

Synopsis
using writer = { bool operator()( string_view lhs, value_type const &rhs) const noexcept { if(lhs.size()< rhs.name_string().size()) return true; if(lhs.size() > rhs.name_string().size()) return false; return iless::operator()(lhs, rhs.name_string()); } bool operator()( value_type const &lhs, string_view rhs) const noexcept { if(lhs.name_string().size()< rhs.size()) return true; if(lhs.name_string().size() > rhs.size()) return false; return iless::operator()(lhs.name_string(), rhs); } bool operator()( value_type const &lhs, value_type const &rhs) const noexcept { if(lhs.name_string().size()< rhs.name_string().size()) return true; if(lhs.name_string().size() > rhs.name_string().size()) return false; return iless::operator()(lhs.name_string(), rhs.name_string()); } } implementation-defined;
Member Functions

Name

Description

name

Returns the field enum, which can be boost::beast::http::field::unknown.

name_string

Returns the field name as a string.

operator=

Assignment (deleted)

value

Returns the value of the field.

value_type

Constructor (deleted)

Protected Member Functions

Name

Description

value_type

Member Functions

Name

Description

name

Returns the field enum, which can be boost::beast::http::field::unknown.

name_string

Returns the field name as a string.

operator=

Assignment (deleted)

value

Returns the value of the field.

value_type

Constructor (deleted)

Protected Member Functions

Name

Description

value_type

Member Functions

Name

Description

name

Returns the field enum, which can be boost::beast::http::field::unknown.

name_string

Returns the field name as a string.

operator=

Assignment (deleted)

value

Returns the value of the field.

value_type

Constructor (deleted)

Protected Member Functions

Name

Description

value_type

Member Functions

Name

Description

name

Returns the field enum, which can be boost::beast::http::field::unknown.

name_string

Returns the field name as a string.

operator=

Assignment (deleted)

value

Returns the value of the field.

value_type

Constructor (deleted)

Protected Member Functions

Name

Description

value_type


PrevUpHomeNext