URL.this - multiple declarations
Function URL.this
Constructs a new URL object from its components.
ref this
(
string schema,
string host,
ushort port,
GenericPath!(vibe.core.path.InetPathFormat) path
) pure nothrow @safe;
ref this
(
string schema,
GenericPath!(vibe.core.path.InetPathFormat) path
) pure nothrow @safe;
ref this
(
string schema,
string host,
ushort port,
GenericPath!(vibe.core.path.PosixPathFormat) path
) pure nothrow @safe;
ref this
(
string schema,
GenericPath!(vibe.core.path.PosixPathFormat) path
) pure nothrow @safe;
ref this
(
string schema,
string host,
ushort port,
GenericPath!(vibe.core.path.WindowsPathFormat) path
) pure nothrow @safe;
ref this
(
string schema,
GenericPath!(vibe.core.path.WindowsPathFormat) path
) pure nothrow @safe;
Function URL.this
Constructs a "file:" URL from a native file system path.
ref this
(
GenericPath!(vibe.core.path.WindowsPathFormat) path
) pure @safe;
ref this
(
GenericPath!(vibe.core.path.PosixPathFormat) path
) pure @safe;
Note that the path must be absolute. On Windows, both, paths starting with a drive letter and UNC paths are supported.
Function URL.this
Constructs a URL from its string representation.
ref this
(
string url_string
) @safe;
TODO
additional validation required (e.g. valid host and user names and port)