Microsoft XML 2.5 SDK


 

IXMLHttpRequest::get_responseBody Method

[This is preliminary documentation and subject to change.]

Represents the response entity body as an array of unsigned bytes, namely a SAFEARRAY of type VT_ARRAY | VT_UI1. This contains the raw un-decoded bytes as received directly from the server. So depending on what the server sent this may appear as binary-encoded data (UTF-8, UCS-2, UCS-4, shiftJis, and so on).

Visual Basic Syntax

strValue = oXMLHttpRequest.responseBody

C/C++ Syntax

HRESULT get_responseBody(

    VARIANT *pvarVal);

Parameters

pvarVal

[out]
Response entity body as an array of unsigned bytes.

C/C++ Return Value

Returns S_OK if successful, or E_PENDING if the data is unavailable.

Remarks

This property represents only one of several forms in which the HTTP response can be returned.

See Also

responseStream, responseText, responseXML