XML Helper Events (Windows 8)
The IXMLHTTPRequest2
interface supports the following events, which fire the callback methods with the same names.
OnDataAvailable
Fired every time the client receives response data from the server. The client can read the data as it arrives or ignore this callback until all data has arrived.
OnError
Fired when an error occurs request during the HTTP request or response. This is a final callback. No other callbacks fire after OnError
fires, so the client should complete any required cleanup at that time..
OnHeadersAvailable
Fired after the client has received and processed all headers in the response.
OnRedirect
Fired when the server redirects a request to a different server.
OnResponseReceived
Fired when the client has received a complete response. This is a final callback. No other callbacks fire after OnResponseReceived
fires, so the client should perform any required cleanup at that time.
Remarks
Versioning
Implemented in: MSXML 6.0
See Also
SetProperty Method (Windows 8, C++)
OnError Event (Windows 8)
OnHeadersAvailable Event (Windows 8)
OnRedirect Event (Windows 8)
OnResponseReceived Event (Windows 8)
IXMLHTTPRequest2 (Windows 8)
IXMLHTTPRequest2 (Windows 8)