Response

external interface Response : Body

Properties

Link copied to clipboard
Link copied to clipboard
abstract var bodyUsed: Boolean
Link copied to clipboard
abstract var headers: Headers
Link copied to clipboard
abstract var ok: Boolean
Link copied to clipboard
abstract var redirected: Boolean
Link copied to clipboard
abstract var status: Int
Link copied to clipboard
abstract var statusText: String
Link copied to clipboard
abstract var trailer: Promise<Headers>
Link copied to clipboard
open var type: JsAny?
Link copied to clipboard
abstract var url: String

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun blob(): Promise<Blob>
Link copied to clipboard
abstract fun clone(): Response
Link copied to clipboard
abstract fun formData(): Promise<FormData>
Link copied to clipboard
abstract fun json(): Promise<JsAny>
Link copied to clipboard
abstract fun text(): Promise<JsString>