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 a snapshot of the master branch, built from commit b5c99c1c90.
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