set

fun set(key: String, value: Any?, cacheKey: String? = value?.toString()): Parameters.Builder

Set a parameter.

Parameters

key

The parameter's key.

value

The parameter's value.

cacheKey

The parameter's cache key. If not null, this value will be added to a request's cache key.