Home | Libraries | People | FAQ | More |
(Inherited from url_view_base
)
Return the scheme.
urls::scheme scheme_id() const;
This function returns a value which depends on the scheme in the URL:
urls::scheme
is returned.
urls::scheme::unknown
.
urls::scheme::none
.
assert( url_view( "wss://www.example.com/crypto.cgi" ).scheme_id() == scheme::wss );
Constant.
Throws nothing.
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] absolute-URI = scheme ":" hier-part [ "?" query ] scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )