Export (0) Print
Expand All

IHTMLXMLHttpRequest interface

Exposes methods to send and receive an XMLHttpRequest.

Members

The IHTMLXMLHttpRequest interface inherits from the IDispatch interface. IHTMLXMLHttpRequest also has these types of members:

Methods

The IHTMLXMLHttpRequest interface has these methods.

MethodDescription
abort

Cancels the current HTTP request.

getAllResponseHeaders

Returns the complete list of response headers.

getResponseHeader

Returns the specified response header.

open

Assigns method, destination URL, and other optional attributes of a pending request.

send

Sends an HTTP request to the server and receives a response.

setRequestHeader

Adds custom HTTP headers to the request.

 

Properties

The IHTMLXMLHttpRequest interface has these properties.

PropertyDescription

onreadystatechange

Sets or retrieves the event handler for asynchronous requests.

readyState

Retrieves the current state of the request operation.

responseBody

Retrieves the response body as an array of unsigned bytes.

responseText

Retrieves the response body as a string.

responseXML

Retrieves the response body as an XML DOM object.

status

Retrieves the HTTP status code of the request.

statusText

Retrieves the friendly HTTP status of the request.

 

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLXMLHttpRequestFactory

 

 

Community Additions

ADD
Show:
© 2014 Microsoft