Send Method (IXMLHTTPRequest2, Windows 8)
Sends an HTTP request to the server and receives a response.
C/C++ Syntax
HRESULT Send(ISequentialStream *pBody,
ULONGLONG cbBody);
Parameters
pBody
[in, optional]
The body of the message being sent with the request. This stream is read in order to upload data for non-GET requests. For requests that do not require uploading, set this parameter to NULL.
cbBody
[in]
The length of the message being sent with the request. For requests that do not require uploading, set this parameter to 0.
Return Values
S_OK
The value returned if successful.
Remarks
Because this method is asynchronous, it returns immediately, before any request processing. Your application must listen for callbacks defined by IXMLHTTPRequest2Callback to receive progress notifications for the HTTP request.
Versioning
Implemented in: MSXML 6.0