[#5624456C086AC9FCEBCB6A8C414C4A252BEC1105]

Function string_to_scheme

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

Synopsis

            scheme
string_to_scheme(core::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

  • 3.1. Scheme (rfc3986)