link

abstract fun link(rel: String): URI

Resolves a single link with a specific relation type. Uses cached data from last response if possible.

Tries lazy lookup with HTTP HEAD on cache miss.

Return

The URI of the link.

Parameters

rel

The relation type of the link to look for.

Throws

if no link with the specified relation could be found.