class HttpPlainText
HttpClient feature that encodes String request bodies to TextContent and processes the response body as String.
To configure charsets set following properties in HttpPlainText.Config.
class Config
Charset configuration for HttpPlainText feature. |
|
companion object Feature : HttpClientFeature<Config, HttpPlainText> |
var
Deprecated |
val key: AttributeKey<HttpPlainText>
The AttributeKey for this feature. |
fun install(feature: HttpPlainText, scope: HttpClient): Unit
Installs the feature class for a HttpClient defined at scope. |
|
fun prepare(block: Config.() -> Unit): HttpPlainText
Builds a TFeature by calling the block with a TConfig config instance as receiver. |