string_to_scheme

Return the known scheme for a non-normalized string, if known

Synopsis

scheme
string_to_scheme(string_view s) noexcept;

Declared in file <include/boost/url/scheme.hpp> on line 141

Defined in file <src/scheme.cpp> on line 20

Description

If the string does not identify a known scheme, the value scheme::unknown is returned.

BNF

scheme      = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )

Specification