Inherits from JavaScript Object
Location XMLHttpRequest

Overview of Constructors

Overview of Tasks

Attributes

  • Type
  • int
  • int
  • int
  • int
  • int
  • function
  • function
  • function
  • function
  • function
  • function
  • function
  • function
  • int
  • string
  • string
  • int
  • string
  • bool
  • Writability
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly
  • readwrite
  • readwrite
  • readwrite
  • readwrite
  • readwrite
  • readwrite
  • readwrite
  • readwrite
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly
  • readwrite

Functions

  • Return Type
  • void
  • string
  • string
  • void
  • void
  • void

Constructors

XMLHttpRequest()

new XMLHttpRequest()

Attributes

DONE

readonly int DONE

HEADERS_RECEIVED

readonly int HEADERS_RECEIVED

LOADING

readonly int LOADING

OPENED

readonly int OPENED

UNSENT

readonly int UNSENT

onabort

readwrite function onabort

onerror

readwrite function onerror

onload

readwrite function onload

onloadend

readwrite function onloadend

onloadstart

readwrite function onloadstart

onprogress

readwrite function onprogress

onreadystatechange

readwrite function onreadystatechange

ontimeout

readwrite function ontimeout

readyState

readonly int readyState

responseText

readonly string responseText

responseXML

readonly string responseXML

status

readonly int status

statusText

readonly string statusText

withCredentials

readwrite bool withCredentials

Functions

abort()

void abort()

getAllResponseHeaders()

string getAllResponseHeaders()

Return Value: string

getResponseHeader(name)

string getResponseHeader(string name)

Parameters

string name

Return Value: string

open(method, url, [async], [user], [password])

void open(string method, string url, [bool async], [string user], [string password])

Parameters

string method
string url
Optional bool async
Optional string user
Optional string password

send([data])

void send([string data])

Parameters

Optional string data

setRequestHeader(name, value)

void setRequestHeader(string name, string value)

Parameters

string name
string value