IXMLHTTPRequest2Callback interface
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.
| Method | Description |
|---|---|
| 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 |
|
|
IDL |
|
See also