Request

open external class Request(input: dynamic, init: RequestInit = definedExternally) : Body(source)

Exposes the JavaScript Request to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor(input: dynamic, init: RequestInit = definedExternally)

Properties

Link copied to clipboard
open override val bodyUsed: Boolean
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val headers: Headers
Since Kotlin 1.1
Link copied to clipboard
open val integrity: String
Since Kotlin 1.1
Link copied to clipboard
open val keepalive: Boolean
Since Kotlin 1.1
Link copied to clipboard
open val method: String
Since Kotlin 1.1
Link copied to clipboard
open val mode: RequestMode
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val referrer: String
Since Kotlin 1.1
Link copied to clipboard
open val referrerPolicy: dynamic
Since Kotlin 1.1
Link copied to clipboard
open val type: RequestType
Since Kotlin 1.1
Link copied to clipboard
open val url: String
Since Kotlin 1.1

Functions

Link copied to clipboard
open override fun arrayBuffer(): Promise<ArrayBuffer>
Since Kotlin 1.1
Link copied to clipboard
open override fun blob(): Promise<Blob>
Since Kotlin 1.1
Link copied to clipboard
fun clone(): Request
Since Kotlin 1.1
Link copied to clipboard
open override fun formData(): Promise<FormData>
Since Kotlin 1.1
Link copied to clipboard
open override fun json(): Promise<Any?>
Since Kotlin 1.1
Link copied to clipboard
open override fun text(): Promise<String>
Since Kotlin 1.1