IXMLHTTPRequest

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

Provides client-side protocol support for communication with HTTP servers.

A client computer can use the XMLHTTP object, MSXML2.XMLHTTP, to send an arbitrary HTTP request, receive the response, and have the Microsoft® XML Document Object Model (DOM) parse that response.

This object is integrated with the Microsoft XML Parser (MSXML) to support sending the request body directly from and parsing the response directly into the MSXML DOM objects. When combined with the support for Extensible Stylesheet Language (XSL), the XMLHTTP component provides an easy way to send structured queries to HTTP servers and efficiently display the results with a variety of presentations.

The usual sequence is to call open, set any custom header information through setRequestHeader, followed by send, and then to check one of the four different response properties.

This interface inherits from IDispatch.

Aa924919.note(en-us,MSDN.10).gifNote:
IXMLHTTPRequest does not support secure web site access. To access a secure web site, use the Windows Internet Services (WinInet) API.

Setting Version-independent Version-dependent

ProgID

Msxml2.XMLHTTP

Msxml2.XMLHTTP.3.0

CLSID

F6D90F16-9C73-11D3-B32E-00C04F990BB4

f5078f35-c551-11d3-89b9-0000f81fe221

Show: