URL.this

Attempts to parse an URL from a string. Output string data (scheme, user, etc.) are just slices of input string (e.g., no memory allocation and copying).

struct URL(U = string)
this
()
if (
isSomeString!U
)

Parameters

source U

The string containing the URL.

Throws

$(D_PSYMBOL URIException) if the URL is malformed.

Meta