Beast Logo

PrevUpHomeNext

http::string_to_verb

Converts a string to the request method verb.

Synopsis

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

verb
string_to_verb(
    string_view s);
Description

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

Convenience header <beast/http.hpp>


PrevUpHomeNext