Return the known scheme for a non-normalized string, if known
<boost/url/scheme.hpp>constexpr
scheme
string_to_scheme(core::string_view s) noexcept;
If the string does not identify a known scheme, the value scheme::unknown is returned.
scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
| Name | Description |
|---|---|
| s | The string holding the scheme |