Exposes methods to send and receive an XMLHttpRequest.
Members
The IHTMLXMLHttpRequest interface inherits from the IDispatch interface. IHTMLXMLHttpRequest also has these types of members:
- Methods
- Properties
Methods
The IHTMLXMLHttpRequest interface has these methods.
| Method | Description |
|---|---|
| abort | Cancels the current HTTP request. |
| getAllResponseHeaders | Returns the complete list of response headers. |
| getResponseHeader | Returns the specified response header. |
| open | Requests a synchronous or asynchronous file download from a specific URL. |
| send | Sends an HTTP request to the server and receives a response. |
| setRequestHeader | Adds custom HTTP headers to the request. |
Properties
The IHTMLXMLHttpRequest interface has these properties.
| Property | Description |
|---|---|
Sets or retrieves the event handler for asynchronous requests. |
|
Retrieves the current state of the request operation. |
|
Retrieves the response body as an array of unsigned bytes. |
|
Retrieves the response body as a string. |
|
Retrieves the response body as an XML DOM object. |
|
Retrieves the HTTP status code of the request. |
|
Retrieves the friendly HTTP status of the request. |
Requirements
Minimum supported client |
Windows XP with SP2 |
Minimum supported server |
Windows Server 2003 |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |