Scope provided to the requestExtras dsl builder.

Summary

Public constructors

Cmn

Public functions

Unit
<T : Any> put(key: RequestExtrasKey<T>, value: T)

Adds the key and value pair to the extras map.

Cmn

Public constructors

RequestExtrasScope

RequestExtrasScope()

Public functions

put

fun <T : Any> put(key: RequestExtrasKey<T>, value: T): Unit

Adds the key and value pair to the extras map.

T the value type.

Parameters
key: RequestExtrasKey<T>

the key associated with the value

value: T

the data to be added to the map of metadata