...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Attempt to convert a string to a field enum.
Defined in header <boost/beast/http/field.hpp>
field string_to_field( string_view s);
The string comparison is case-insensitive.
The corresponding field, or field::unknown
if no known field matches.