Body

external interface Body

Exposes the JavaScript Body to Kotlin

Functions

arrayBuffer
Link copied to clipboard
abstract fun arrayBuffer(): Promise<ArrayBuffer>
blob
Link copied to clipboard
abstract fun blob(): Promise<Blob>
formData
Link copied to clipboard
abstract fun formData(): Promise<FormData>
json
Link copied to clipboard
abstract fun json(): Promise<Any?>
text
Link copied to clipboard
abstract fun text(): Promise<String>

Properties

bodyUsed
Link copied to clipboard
abstract val bodyUsed: Boolean

Inheritors

Request
Link copied to clipboard
Response
Link copied to clipboard