Function URL.this
Attempts to parse an URL from a string. Output string data (scheme, user, etc.) are just slices of input string (i.e., no memory allocation and copying).
ref this
(
const(char[]) source
) pure @nogc;
Parameters
Name | Description |
---|---|
source | The string containing the URL. |
Throws
URIException if the URL is malformed.