Function static_url::static_url
Constructor
Synopsis
Declared in header <boost/url/static_url.hpp>
static_url(core::string_view s);
Description
This function constructs a url from the string s
, which must contain a valid URI or relative-ref or else an exception is thrown. The new url retains ownership by making a copy of the passed string.
BNF
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
relative-ref = relative-part [ "?" query ] [ "#" fragment ]