Request

JS
1.1
open class Request : Body
(source)

Exposes the JavaScript Request to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript Request to Kotlin

Request (
input : dynamic ,
init : RequestInit = definedExternally )

Properties

JS
1.1

bodyUsed

open val bodyUsed : Boolean
JS
1.1

cache

open val cache : RequestCache
JS
1.1

credentials

open val credentials : RequestCredentials
JS
1.1

destination

open val destination : RequestDestination
JS
1.1

headers

open val headers : Headers
JS
1.1

integrity

open val integrity : String
JS
1.1

keepalive

open val keepalive : Boolean
JS
1.1

method

open val method : String
JS
1.1

mode

open val mode : RequestMode
JS
1.1

redirect

open val redirect : RequestRedirect
JS
1.1

referrer

open val referrer : String
JS
1.1

referrerPolicy

open val referrerPolicy : dynamic
JS
1.1

type

open val type : RequestType
JS
1.1

url

open val url : String

Functions

JS
1.1

arrayBuffer

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

blob

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

clone

fun clone ( ) : Request
JS
1.1

formData

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

json

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

text

open fun text ( ) : Promise < String >