URI.resolve

URI resolve(const URI reference) const @safe

Resolve reference against this URI used as the base, per RFC 3986 §5.2.

Returns a new URI that is the result of combining this (the base) and reference following the algorithm in Section 5.2, including path merging and dot-segment removal where applicable.

Parameters

referenceReference URI to resolve against this base.

Returns

The resolved URI.