Standard XMLHttpRequest operations
Abort ()
Stop current request
GetAllResponseHeaders ()
Returns all Response Headers of an HTTP request as key/value pairs.
GetResponseHeader ("Header ")
Returns the string value of the specified header.
Void open (string method, string URL, Boolean asynch)
Create a call to the server. The method parameter can be get, post, or put. URL parameters can be relative URLs or absolute URLs. This method also includes three optional parameters.
Send (content)
Sends a request to the server. The parameter can be an instance of the DOM object, an input stream, or a string
SetRequestHeader ("Header", "value ")
Set the specified header to the provided value. You must call open () before setting any header ()
Standard XMLHttpRequest attributes
Genus
Description
Onreadystatechange
This event processor is triggered when each state changes. A JavaScript function is usually called.
Readystate
Request status. Five optional values: 0 = not initialized, 1 = loading, 2 = loaded, 3 = interaction, 4 = completed
Responsetext
Server Response, represented as a string
Responsexml
Server Response, which is expressed as XML. This object can be parsed as a DOM object.
Status
HTTP status code of the server (200 corresponds to OK, 404 corresponds to not found (not found), and so on)
Statustext
The corresponding text of the HTTP status code (OK or not found (not found) and so on)