Return the known scheme for a non-normalized string, if known
Synopsis
Declared in header </boost/url/scheme.hpp#L141[boost/url/scheme.hpp,window=blank_]>
scheme
string_to_scheme(string_view s) noexcept;
Description
If the string does not identify a known scheme, the value scheme::unknown is returned.
BNF
scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )
Specification
Return Value
-
scheme
Parameters
Name | Type |
---|---|
s |
|