Partager via


IXMLHTTPRequest Members

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following tables show the properties, methods, and events for IXMLHTTPRequest.

Property Description

onreadystatechange*

Specifies the event handler to be called when the readyState property changes. Read/write access.

readyState

Represents the state of the request. Read-only access.

responseBody

Represents the response entity body as an array of unsigned bytes. Read-only access.

responseStream

Represents the response entity body as an IStream. Read-only access.

responseText

Represents the response entity body as a string. Read-only access.

responseXML

Represents the response entity body as parsed by MSXML. Read-only access.

status

Represents the HTTP status code returned by a request. Read-only access.

statusText

Represents the HTTP response line status. Read-only access.

* denotes an extension to the Worldwide Web Consortium (W3C) Document Object Model (DOM).

Methods Description

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 an MSXML2.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.

Events

None.

See Also

Reference

IXMLHTTPRequest