Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Permalink
docs
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:msxml6.IXMLHTTPRequest2
IXMLHTTPRequest2 (msxml6.h)
Provides the methods and properties needed to configure and send HTTP requests and use callbacks to receive notifications during HTTP response processing. Note  This interface is supported on Windows Phone 8.1.  .
IXMLHTTPRequest2
IXMLHTTPRequest2 interface [XMLHttpRequest2]
IXMLHTTPRequest2 interface [XMLHttpRequest2]
described
ixhr2.ixmlhttprequest2
msxml6/IXMLHTTPRequest2
ixhr2\ixmlhttprequest2.htm
ixhr2
BBC11C4A-AECF-4D6D-8275-3E852E309908
12/05/2018
IXMLHTTPRequest2, IXMLHTTPRequest2 interface [XMLHttpRequest2], IXMLHTTPRequest2 interface [XMLHttpRequest2],described, ixhr2.ixmlhttprequest2, msxml6/IXMLHTTPRequest2
msxml6.h
Windows
Windows 8 [desktop apps \| UWP apps],MSXML 6.0 and later
Windows Server 2012 [desktop apps \| UWP apps]
Msxml6.idl
Windows
19H1
IXMLHTTPRequest2
msxml6/IXMLHTTPRequest2
c++
APIRef
kbSyntax
COM
msxml6.h
IXMLHTTPRequest2

IXMLHTTPRequest2 interface

-description

Provides the methods and properties needed to configure and send HTTP requests and use callbacks to receive notifications during HTTP response processing.

Note  This interface is supported on Windows Phone 8.1.

 

-inheritance

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

-remarks

The IXMLHTTPRequest2 interface is extended by the IXMLHTTPRequest3 interface. The IXMLHTTPRequest3 inherits all the methods and properties of the IXMLHTTPRequest2 interface.

The IXMLHTTPRequest2 interface configures and sends HTTP request operations and uses callbacks to receive notifications during response processing. The IXMLHTTPRequest2 allows applications to run in a Multi Threaded Apartment (MTA), a requirement for running under the Windows Runtime (WinRT).

The IXMLHTTPRequest2 interface supports the following features:

  • Set properties on outgoing HTTP requests.
  • Set cookies in the HTTP cookie jar for use in outgoing HTTP requests.
  • Get cookies from the HTTP cookie jar.
  • Process incoming HTTP response data before the HTTP response has finished downloading.
  • Create custom streams to receive HTTP responses.

IXMLHTTPRequest2 implements a callback model for event handling. Because IXMLHTTPRequest2 methods allow only asynchronous method calls, to receive completion callbacks an application must pass a pointer to an IXMLHTTPRequest2Callback object when it calls the IXMLHTTPRequest2::Open method to create an HTTP request.

-see-also

IXMLHTTPRequest2Callback

IXMLHTTPRequest3

IXMLHTTPRequest3Callback

Quickstart: Connecting using XML HTTP Request (IXHR2)

XML HTTP Request 2 GET sample

XML HTTP Request 2 POST sample