kotlin-stdlib
JS
kotlin-stdlib
/
org.w3c.fetch
/
Request
Request
JS
open
external
class
Request
(
input
:
dynamic
,
init
:
RequestInit
=
definedExternally
)
:
Body
Exposes the JavaScript
Request
to Kotlin
Constructors
Functions
Properties
Constructors
Request
Link copied to clipboard
JS
fun
Request
(
input
:
dynamic
,
init
:
RequestInit
=
definedExternally
)
Functions
array
Buffer
Link copied to clipboard
JS
open
override
fun
arrayBuffer
(
)
:
Promise
<
ArrayBuffer
>
blob
Link copied to clipboard
JS
open
override
fun
blob
(
)
:
Promise
<
Blob
>
clone
Link copied to clipboard
JS
fun
clone
(
)
:
Request
form
Data
Link copied to clipboard
JS
open
override
fun
formData
(
)
:
Promise
<
FormData
>
json
Link copied to clipboard
JS
open
override
fun
json
(
)
:
Promise
<
Any
?
>
text
Link copied to clipboard
JS
open
override
fun
text
(
)
:
Promise
<
String
>
Properties
body
Used
Link copied to clipboard
JS
open
override
val
bodyUsed
:
Boolean
cache
Link copied to clipboard
JS
open
val
cache
:
RequestCache
credentials
Link copied to clipboard
JS
open
val
credentials
:
RequestCredentials
destination
Link copied to clipboard
JS
open
val
destination
:
RequestDestination
headers
Link copied to clipboard
JS
open
val
headers
:
Headers
integrity
Link copied to clipboard
JS
open
val
integrity
:
String
keepalive
Link copied to clipboard
JS
open
val
keepalive
:
Boolean
method
Link copied to clipboard
JS
open
val
method
:
String
mode
Link copied to clipboard
JS
open
val
mode
:
RequestMode
redirect
Link copied to clipboard
JS
open
val
redirect
:
RequestRedirect
referrer
Link copied to clipboard
JS
open
val
referrer
:
String
referrer
Policy
Link copied to clipboard
JS
open
val
referrerPolicy
:
dynamic
type
Link copied to clipboard
JS
open
val
type
:
RequestType
url
Link copied to clipboard
JS
open
val
url
:
String