URL.URL.parse
Parse 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.Parse s as a URL. Enforces that the parsed URI is absolute and has an authority.
s | URL string to parse. |
URL.Exception if the input is not a hierarchical absolute URL with authority.