Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMText Interface     IXTLRuntime Interface     XML DOM Interfaces    
Web Workshop  |  XML (Extensible Markup Language)

IXMLHttpRequest Interface


This interface provides client-side protocol support for communication with HTTP servers.

IXMLHttpRequest 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.
onreadystatechange Specifies the event handler to be invoked when the readyState property changes.
open Initializes a Microsoft.XMLHTTP request, and specifies the method, URL, and authentication information for the request.
readyState Represents the state of the request.
responseBody Represents the response entity body as an array of unsigned bytes.
responseStream Represents the response entity body as an IStream.
responseText Represents the response entity body as a string.
responseXML Represents the response entity body as parsed by the MSXML DOM parser.
send Sends an HTTP request to the server and receives a response.
setRequestHeader Specifies the name of an HTTP header.
status Represents the HTTP status code returned by a request.
statusText Represents the HTTP response line status.

Remarks

A client computer can use the XMLHttpRequest object (Microsoft.XMLHTTP) to send an arbitrary HTTP request, receive the response, and have the Microsoft XML Document Object Model (DOM) parse that response.

This object is integrated with MSXML to support sending the request body directly from, and parsing the response directly into, the MSXML Document Object Model objects. When combined with the support for XSL, the XMLHttpRequest component provides an easy way to send structured queries to HTTP servers and efficiently display the results with a variety of presentations.

Interface Information

Implementation Msxml.dll
Inherits from IDispatch
Header and IDL files Msxml.h, Xmldom.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT 4.0

See Also

IXMLDOMDocument



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.