toggle menu
kilua-project
0.0.17
common
switch theme
search in API
kilua-dom
/
web.fetch
/
Response
Response
open
class
Response
(
body
:
JsAny
?
,
init
:
ResponseInit
)
:
Body
,
JsAny
Exposes the JavaScript
Response
to Kotlin
Members
Constructors
Response
Link copied to clipboard
constructor
(
body
:
JsAny
?
,
init
:
ResponseInit
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
body
Link copied to clipboard
open
val
body
:
JsAny
?
body
Used
Link copied to clipboard
open
override
val
bodyUsed
:
Boolean
headers
Link copied to clipboard
open
val
headers
:
Headers
ok
Link copied to clipboard
open
val
ok
:
Boolean
redirected
Link copied to clipboard
open
val
redirected
:
Boolean
status
Link copied to clipboard
open
val
status
:
Short
status
Text
Link copied to clipboard
open
val
statusText
:
String
trailer
Link copied to clipboard
open
val
trailer
:
Promise
<
*
>
type
Link copied to clipboard
open
val
type
:
ResponseType
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
(
)
:
Response
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
<
*
>