XMLHttpRequest

Exposes the JavaScript XMLHttpRequest to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Since Kotlin 1.1

Properties

Link copied to clipboard
open var onabort: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onerror: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onload: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onloadend: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onloadstart: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var onprogress: (ProgressEvent) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
var onreadystatechange: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open var ontimeout: (Event) -> dynamic?
Since Kotlin 1.1
Link copied to clipboard
open val readyState: Short
Since Kotlin 1.1
Link copied to clipboard
open val response: Any?
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open val status: Short
Since Kotlin 1.1
Link copied to clipboard
open val statusText: String
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

Functions

Link copied to clipboard
fun abort()
Since Kotlin 1.1
Link copied to clipboard
fun addEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun addEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
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
fun open(method: String, url: String)
fun open(method: String, url: String, async: Boolean, username: String? = definedExternally, password: String? = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
fun removeEventListener(type: String, callback: (Event) -> Unit?, options: dynamic = definedExternally)
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
fun send(body: dynamic = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
fun setRequestHeader(name: String, value: String)
Since Kotlin 1.1