url

fun ApplicationCall.url(
    location: Any,
    block: URLBuilder.() -> Unit = {}
): String

Constructs a String with the url of a instance location whose class must be annotated with Location.