interface Builder<out T : Taggable.Builder<T>>

The builder analogue to Taggable types.



Link copied to clipboard
abstract val tags: MutableMap<KClass<*>, Any>

Mutable map of the current tags this builder contains.


Link copied to clipboard
open fun tag(type: <Error class: unknown class><out <Error class: unknown class>>, tag: Any?): T
open fun tag(type: KClass<*>, tag: Any?): T

Attaches tag to the request using type as a key. Tags can be read from a request using Taggable.tag. Use null to remove any existing tag assigned for type.