IXMLHTTPRequest2Callback interface (msxml6.h)

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.

 

Inheritance

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

Methods

The IXMLHTTPRequest2Callback interface has these methods.

 
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

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps],MSXML 6.0 and later
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header msxml6.h

See also

IXMLHTTPRequest2

IXMLHTTPRequest3

IXMLHTTPRequest3Callback

Open