join

fun URI.join(relativeUri: String): URI
fun URI.join(relativeUri: URI): URI

Resolves a relative URI using this URI as the base.

Parameters

relativeUri

The relative URI to resolve. Add a ./ prefix here to imply a trailing slash in the base URI even if it is missing there.