KeyValuePair

data class KeyValuePair<out K, out V>(val key: K, val value: V)

Immutable key-value pair.

Used to preserve ordering for headers and cookies where duplicates may exist.

Parameters

K

type of the key

V

type of the value

Constructors

Link copied to clipboard
constructor(key: K, value: V)

Properties

Link copied to clipboard
val key: K

key component

Link copied to clipboard
val value: V

value component