Package org.w3c.xhr

Platform and version requirements: JS

Kotlin JavaScript wrappers for the XMLHttpRequest API.

Types

FormData

open external class FormData

Exposes the JavaScript FormData to Kotlin

ProgressEvent

open external class ProgressEvent : Event

Exposes the JavaScript ProgressEvent to Kotlin

ProgressEventInit

external interface ProgressEventInit : EventInit

XMLHttpRequest

open external class XMLHttpRequest : 
    XMLHttpRequestEventTarget

Exposes the JavaScript XMLHttpRequest to Kotlin

XMLHttpRequestEventTarget

abstract external class XMLHttpRequestEventTarget : 
    EventTarget

Exposes the JavaScript XMLHttpRequestEventTarget to Kotlin

XMLHttpRequestResponseType

external interface XMLHttpRequestResponseType

XMLHttpRequestUpload

abstract external class XMLHttpRequestUpload : 
    XMLHttpRequestEventTarget

Functions

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

ARRAYBUFFER

val XMLHttpRequestResponseType.Companion.ARRAYBUFFER: XMLHttpRequestResponseType

BLOB

val XMLHttpRequestResponseType.Companion.BLOB: XMLHttpRequestResponseType

DOCUMENT

val XMLHttpRequestResponseType.Companion.DOCUMENT: XMLHttpRequestResponseType

EMPTY

val XMLHttpRequestResponseType.Companion.EMPTY: XMLHttpRequestResponseType

JSON

val XMLHttpRequestResponseType.Companion.JSON: XMLHttpRequestResponseType

TEXT

val XMLHttpRequestResponseType.Companion.TEXT: XMLHttpRequestResponseType