IXMLHTTPRequest2Callback interface

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
1 out of 2 rated this helpful - Rate this topic

Defines callbacks that notify an application with an outstanding IXMLHTTPRequest2 request of events that affect HTTP request and response processing.

Members

The IXmlHttpRequest2Callback interface inherits from the IUnknown interface. IXMLHTTPRequest2Callback also has these types of members:

Methods

The IXmlHttpRequest2Callback interface has these methods.

MethodDescription
OnDataAvailable

Occurs when a client receives part of the HTTP response data from the server.

OnError

Occurs when an error is encountered or the request has been aborted.

OnHeadersAvailable

Occurs after an HTTP request been sent to the server and the server has responded with response headers.

OnRedirect

Occurs when a client sends an HTTP request that the server redirects to a new URL.

OnResponseReceived

Occurs when a client has received a complete response from the server.

 

Remarks

Because IXMLHTTPRequest2 methods are asynchronous, applications must pass an IXMLHTTPRequest2Callback object as a parameter in calls to IXMLHTTPRequest2::Open to receive callback notifications.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Version

MSXML 6.0 and later

Header

Msxml6.h

IDL

Msxml6.idl

See also

IXMLHTTPRequest2::Open
IXMLHTTPRequest2

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.