Function string_to_method

Return the method enum corresponding to a string.

Synopsis

Declared in header <boost/http_proto/method.hpp>

method
string_to_method(core::string_view s);

Description

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