HttpPlainText
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.
Types
class Config Charset configuration for HttpPlainText feature. |
|
companion object Feature : |
Properties
var Deprecated |
Companion Object Properties
val key: AttributeKey<HttpPlainText> The AttributeKey for this feature. |
Companion Object Functions
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. |