URI.URI.parse
URI parse(string s, UriOptions opt) @safeParse an absolute URI or relative reference from s.
Parameters
s | URI or reference string to parse. |
opt | Options controlling strictness and host acceptance. |
Returns
The parsed
Throws
Exception on invalid syntax.URI parse(string s) @safeParse an absolute URI or relative reference from s with default options.
Parameters
s | URI or reference string to parse. |
Returns
The parsed
URI.Throws
Exception on invalid syntax.