boost::http::string_to_field

Return the field name constant for a header name.

Synopsis

Declared in <boost/http/field.hpp>

boost::optional<field>
string_to_field(core::string_view s) noexcept;

Description

The string comparison is case‐insensitive.

Return Value

the field name constant for a header name.

Parameters

Name Description

s

The string representing a header name.

Created with MrDocs