Package org.w3c.xhr

Kotlin JavaScript wrappers for the XMLHttpRequest API.

Types

JS
1.1

FormData

Exposes the JavaScript FormData to Kotlin

open class FormData
JS
1.1

ProgressEvent

Exposes the JavaScript ProgressEvent to Kotlin

open class ProgressEvent : Event
JS
1.1

ProgressEventInit

interface ProgressEventInit : EventInit
JS
1.1

XMLHttpRequest

Exposes the JavaScript XMLHttpRequest to Kotlin

open class XMLHttpRequest : XMLHttpRequestEventTarget
JS
1.1

XMLHttpRequestEventTarget

Exposes the JavaScript XMLHttpRequestEventTarget to Kotlin

abstract class XMLHttpRequestEventTarget : EventTarget
JS
1.1

XMLHttpRequestResponseType

interface XMLHttpRequestResponseType
JS
1.1

XMLHttpRequestUpload

abstract class XMLHttpRequestUpload : 
    XMLHttpRequestEventTarget

Functions

JS
1.1

ProgressEventInit

fun ProgressEventInit(
    lengthComputable: Boolean? = false,
    loaded: Int? = 0,
    total: Int? = 0,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): ProgressEventInit

Companion Object Properties

JS
1.1

ARRAYBUFFER

val XMLHttpRequestResponseType.Companion.ARRAYBUFFER: XMLHttpRequestResponseType
JS
1.1

BLOB

val XMLHttpRequestResponseType.Companion.BLOB: XMLHttpRequestResponseType
JS
1.1

DOCUMENT

val XMLHttpRequestResponseType.Companion.DOCUMENT: XMLHttpRequestResponseType
JS
1.1

EMPTY

val XMLHttpRequestResponseType.Companion.EMPTY: XMLHttpRequestResponseType
JS
1.1

JSON

val XMLHttpRequestResponseType.Companion.JSON: XMLHttpRequestResponseType
JS
1.1

TEXT

val XMLHttpRequestResponseType.Companion.TEXT: XMLHttpRequestResponseType