Compartilhar via


responseStream Property (IXMLHTTPRequest) (Compact 2013)

3/26/2014

Represents only one of several forms in which the HTTP response can be returned.

Syntax

strValue = oXMLHttpRequest.responseStream;
HRESULT get_responseStream(
  VARIANT* pvarBody
);

Parameters

Script

None.

C/C++

  • pvarBody
    [out, retval] Response entity body as an IStream.

Return Value

Script

Variant. Response entity body as an IStream.

C/C++

  • S_OK
    Value returned if successful.
  • E_PENDING
    Value returned if the data is unavailable.

Remarks

Represents the response entity body as an IStream. This stream returns the raw undecoded bytes as received directly from the server. Therefore, depending on what the server sent, this may appear as binary-encoded data (UTF-8, UCS-2, UCS-4, Shift_JIS, and so on).

The property is read-only, and applies to the following interface:

IXMLHTTPRequest

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML HTTP Properties
responseText Property (IXMLHTTPRequest)
responseXML Property (IXMLHTTPRequest)