FetchMutableHeaders

Properties

Link copied to clipboard
abstract val entries: Set<Map.Entry<String, String>>
Link copied to clipboard
abstract val keys: Set<String>
Link copied to clipboard
abstract val size: Int
Link copied to clipboard
abstract val values: Collection<String>

Functions

Link copied to clipboard
abstract fun append(name: String, value: String)

TBD.

Link copied to clipboard
abstract fun containsKey(key: String): Boolean
Link copied to clipboard
abstract fun containsValue(value: String): Boolean
Link copied to clipboard
abstract fun delete(name: String)

TBD.

Link copied to clipboard
Link copied to clipboard
abstract fun forEach(op: (MapLike.Entry<String, String>) -> Unit)

TBD.

Link copied to clipboard
abstract operator override fun get(key: String): String?

TBD.

Link copied to clipboard
abstract fun getAll(key: String): List<String>

TBD.

Link copied to clipboard
abstract fun has(key: String): Boolean

TBD.

Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract fun keys(): JsIterator<String>

TBD.

Link copied to clipboard
abstract fun render(flatten: Boolean = true): Map<String, List<String>>

Render these fetch headers into a raw map where the keys are normalized HTTP header names, and the values are either rendered into a single comma-separated string, or expressed literally, depending on the value of flatten.

Link copied to clipboard
abstract fun set(name: String, value: String)

TBD.

Link copied to clipboard
abstract override fun toString(): String

TBD.

Link copied to clipboard
abstract fun values(): JsIterator<String>

TBD.