href

fun href(location: Any): String

Constructs the url for location.

The class of location instance must be annotated with Location.