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.

IXMLHTTPRequest2Callback interface

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

Note  This interface is supported on Windows Phone 8.1.

Members

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

Methods

The IXMLHTTPRequest2Callback interface has these methods.

MethodDescription
IXMLHTTPRequest2Callback::OnDataAvailable

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

IXMLHTTPRequest2Callback::OnError

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

IXMLHTTPRequest2Callback::OnHeadersAvailable

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

IXMLHTTPRequest2Callback::OnRedirect

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

IXMLHTTPRequest2Callback::OnResponseReceived

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

 

Remarks

Methods on the IXMLHTTPRequest2 interface are asynchronous, so applications must pass an IXMLHTTPRequest2Callback object as a parameter in calls to Open method on the IXMLHTTPRequest2 interface to receive callback notifications.

The IXMLHTTPRequest2Callback interface is extended by the IXMLHTTPRequest3Callback interface.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Version

MSXML 6.0 and later

Header

Msxml6.h

IDL

Msxml6.idl

See also

IXMLHTTPRequest2
IXMLHTTPRequest3
IXMLHTTPRequest3Callback
Open

 

 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft