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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

http::string_to_verb

Converts a string to the request method verb.

Synopsis

Defined in header <boost/beast/http/verb.hpp>

verb
string_to_verb(
    string_view s);
Description

If the string does not match a known request method, verb::unknown is returned.


PrevUpHomeNext