Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-web
/
web.http
/
Body
Body
sealed
interface
Body
(
source
)
Inheritors
Request
Response
Members
Members & Extensions
Properties
body
Link copied to clipboard
open
val
body
:
ReadableStream
<
Uint8Array
<
ArrayBuffer
>
>
?
MDN Reference
body
Used
Link copied to clipboard
open
val
bodyUsed
:
Boolean
MDN Reference
Functions
array
Buffer
Link copied to clipboard
inline suspend
fun
Body
.
arrayBuffer
(
)
:
ArrayBuffer
MDN Reference
array
Buffer
Async
Link copied to clipboard
open
fun
arrayBufferAsync
(
)
:
Promise
<
ArrayBuffer
>
MDN Reference
blob
Link copied to clipboard
inline suspend
fun
Body
.
blob
(
)
:
Blob
MDN Reference
blob
Async
Link copied to clipboard
open
fun
blobAsync
(
)
:
Promise
<
Blob
>
MDN Reference
bytes
Link copied to clipboard
inline suspend
fun
Body
.
bytes
(
)
:
Uint8Array
<
ArrayBuffer
>
MDN Reference
bytes
Async
Link copied to clipboard
open
fun
bytesAsync
(
)
:
Promise
<
Uint8Array
<
ArrayBuffer
>
>
MDN Reference
form
Data
Link copied to clipboard
inline suspend
fun
Body
.
formData
(
)
:
FormData
MDN Reference
form
Data
Async
Link copied to clipboard
open
fun
formDataAsync
(
)
:
Promise
<
FormData
>
MDN Reference
json
Link copied to clipboard
inline suspend
fun
Body
.
json
(
)
:
JsAny
?
MDN Reference
json
Async
Link copied to clipboard
open
fun
jsonAsync
(
)
:
Promise
<
*
>
MDN Reference
text
Link copied to clipboard
inline suspend
fun
Body
.
text
(
)
:
String
MDN Reference
text
Async
Link copied to clipboard
open
fun
textAsync
(
)
:
Promise
<
JsString
>
MDN Reference