11.7.9 AsString Method

Reads the response body as a string. Currently only UTF-8 string encoding is supported.

Output Arguments

Name

Type

Mandatory

Description

ContentInfo

XPRIM_HttpContentInfo

No

Describes the properties of the response content.

Status

XPRIM_HttpResponseReadContentStatus

No

Indicates whether the response body was read successfully.

 

Return Value

Type

Description

String

The response body decoded into a string (UTF-8 encoding).