Body

JS
1.1
interface Body
(source)

Exposes the JavaScript Body to Kotlin

Properties

JS
1.1

bodyUsed

abstract val bodyUsed: Boolean

Functions

JS
1.1

arrayBuffer

abstract fun arrayBuffer(): Promise<ArrayBuffer>
JS
1.1

blob

abstract fun blob(): Promise<Blob>
JS
1.1

formData

abstract fun formData(): Promise<FormData>
JS
1.1

json

abstract fun json(): Promise<Any?>
JS
1.1

text

abstract fun text(): Promise<String>

Inheritors

JS
1.1

Request

Exposes the JavaScript Request to Kotlin

open class Request : Body
JS
1.1

Response

Exposes the JavaScript Response to Kotlin

open class Response : Body