Microsoft XML 2.5 SDK


 

XMLHttpRequest Properties, Methods, and Events

[This is preliminary documentation and subject to change.]

Properties

onreadystatechange* Specifies the event handler to be called when the readystate property changes. Read/write.
readyState Represents the state of the request. Read-only.
responseBody Represents the response entity body as an array of unsigned bytes. Read-only.
responseStream Represents the response entity body as an IStream. Read-only.
responseText Represents the response entity body as a string. Read-only.
responseXML Represents the response entity body as parsed by the MSXML XMLDOM parser. Read-only.
status Represents the HTTP status code returned by a request. Read-only.
statusText Represents the HTTP response line status. Read-only.

Methods

abort Cancels the current HTTP request.
getAllResponseHeaders Retrieves the values of all the HTTP headers.
getResponseHeader Retrieves the value of an HTTP header from the response body.
open Initializes a Microsoft.XMLHTTP request, and specifies the method, URL, and authentication information for the request.
send Sends an HTTP request to the server and receives a response.
setRequestHeader Specifies the name of an HTTP header.

* denotes an extension to the W3C DOM.

See Also

XMLHttpRequest Object