Response

open class Response(body: JsAny?, init: ResponseInit) : Body, JsAny

Exposes the JavaScript Response to Kotlin

Constructors

Link copied to clipboard
constructor(body: JsAny?, init: ResponseInit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val body: JsAny?
Link copied to clipboard
open override val bodyUsed: Boolean
Link copied to clipboard
open val headers: Headers
Link copied to clipboard
open val ok: Boolean
Link copied to clipboard
Link copied to clipboard
open val status: Short
Link copied to clipboard
open val statusText: String
Link copied to clipboard
open val trailer: Promise<*>
Link copied to clipboard
open val type: ResponseType
Link copied to clipboard
open val url: String

Functions

Link copied to clipboard
open override fun arrayBuffer(): Promise<*>
Link copied to clipboard
open override fun blob(): Promise<*>
Link copied to clipboard
Link copied to clipboard
open override fun formData(): Promise<*>
Link copied to clipboard
open override fun json(): Promise<*>
Link copied to clipboard
open override fun text(): Promise<*>