Headers
open class Headers(init: ReadonlyArray<Tuple2<ERROR CLASS: Symbol not found for JsString, ERROR CLASS: Symbol not found for JsString>> = definedExternally) : MapLike<ERROR CLASS: Symbol not found for JsString, ERROR CLASS: Symbol not found for JsString> , HeadersInit(source)
The Headers interface of the Fetch API allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing headers from the list of the request's headers.
Constructors
Link copied to clipboard
constructor(init: ReadonlyArray<Tuple2<ERROR CLASS: Symbol not found for JsString, ERROR CLASS: Symbol not found for JsString>> = definedExternally)
constructor(init: ReadonlyRecord<ERROR CLASS: Symbol not found for JsString, ERROR CLASS: Symbol not found for JsString>)
Functions
Link copied to clipboard
open override fun entries(): JsIterator<Tuple2<ERROR CLASS: Symbol not found for JsString, ERROR CLASS: Symbol not found for JsString>>
Link copied to clipboard
The getSetCookie() method of the Headers interface returns an array containing the values of all Set-Cookie headers associated with a response. This allows Headers objects to handle having multiple Set-Cookie headers, which wasn't possible prior to its implementation.
Link copied to clipboard
Link copied to clipboard