kotlin-stdlib
JS
kotlin-stdlib
/
org.w3c.fetch
/
Headers
Headers
JS
open
external
class
Headers
(
init
:
dynamic
=
definedExternally
)
Exposes the JavaScript
Headers
to Kotlin
Constructors
Functions
Constructors
Headers
Link copied to clipboard
JS
fun
Headers
(
init
:
dynamic
=
definedExternally
)
Functions
append
Link copied to clipboard
JS
fun
append
(
name
:
String
,
value
:
String
)
delete
Link copied to clipboard
JS
fun
delete
(
name
:
String
)
get
Link copied to clipboard
JS
fun
get
(
name
:
String
)
:
String
?
has
Link copied to clipboard
JS
fun
has
(
name
:
String
)
:
Boolean
set
Link copied to clipboard
JS
fun
set
(
name
:
String
,
value
:
String
)