open

fun open(method: RequestMethod, url: String)(source)

The XMLHttpRequest method open() initializes a newly-created request, or re-initializes an existing one.

MDN Reference


fun open(method: RequestMethod, url: URL)(source)
fun open(method: RequestMethod, url: String, async: Boolean, username: String? = definedExternally, password: String? = definedExternally)(source)
fun open(method: RequestMethod, url: URL, async: Boolean, username: String? = definedExternally, password: String? = definedExternally)(source)