Request

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

Exposes the JavaScript Request to Kotlin

Constructors

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

Functions

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

Properties

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