URL.URL.parse
URL parse(string s) @safeParse s as a URL. Enforces that the parsed URI is absolute and has an authority.
Parameters
s | URL string to parse. |
Returns
The parsed
Throws
Exception if the input is not a hierarchical absolute URL with authority.