Home | Libraries | People | FAQ | More |
(Inherited from url_base
)
Remove the scheme.
url_base& remove_scheme();
This function removes the scheme if it is present.
assert( url("http://www.example.com/index.htm" ).remove_scheme().buffer() == "//www.example.com/index.htm" );
this->has_scheme() == false && this->scheme_id() == scheme::none
Linear in this->size()
.
Throws nothing.
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]