ktx
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
ktx
async
/
ktx.async
/
HttpRequestResult
/
getContentAsString
get
Content
As
String
fun
getContentAsString
(
charset
:
Charset
=
Charsets.UTF_8
)
:
String
Return
content
converted to a string using the selected encoding.
Parameters
charset
character encoding. Defaults to UTF-8.