toggle menu
kilua-project
0.0.15
common
switch theme
search in API
kilua-dom
/
web.fetch
/
Request
Request
open
class
Request
(
input
:
JsAny
?
,
init
:
RequestInit
)
:
Body
,
JsAny
Exposes the JavaScript
Request
to Kotlin
Members
Constructors
Request
Link copied to clipboard
constructor
(
input
:
JsAny
?
,
init
:
RequestInit
)
Properties
body
Used
Link copied to clipboard
open
override
val
bodyUsed
:
Boolean
cache
Link copied to clipboard
open
val
cache
:
RequestCache
credentials
Link copied to clipboard
open
val
credentials
:
RequestCredentials
destination
Link copied to clipboard
open
val
destination
:
RequestDestination
headers
Link copied to clipboard
open
val
headers
:
Headers
integrity
Link copied to clipboard
open
val
integrity
:
String
keepalive
Link copied to clipboard
open
val
keepalive
:
Boolean
method
Link copied to clipboard
open
val
method
:
String
mode
Link copied to clipboard
open
val
mode
:
RequestMode
redirect
Link copied to clipboard
open
val
redirect
:
RequestRedirect
referrer
Link copied to clipboard
open
val
referrer
:
String
referrer
Policy
Link copied to clipboard
open
val
referrerPolicy
:
JsAny
?
type
Link copied to clipboard
open
val
type
:
RequestType
url
Link copied to clipboard
open
val
url
:
String
Functions
array
Buffer
Link copied to clipboard
open
override
fun
arrayBuffer
(
)
:
Promise
<
*
>
blob
Link copied to clipboard
open
override
fun
blob
(
)
:
Promise
<
*
>
clone
Link copied to clipboard
fun
clone
(
)
:
Request
form
Data
Link copied to clipboard
open
override
fun
formData
(
)
:
Promise
<
*
>
json
Link copied to clipboard
open
override
fun
json
(
)
:
Promise
<
*
>
text
Link copied to clipboard
open
override
fun
text
(
)
:
Promise
<
*
>