Config

class Config

Charset configuration for HttpPlainText feature.

Constructors

Link copied to clipboard
fun Config()

Functions

Link copied to clipboard
fun register(charset: Charset, quality: Float? = null)

Add charset to allowed list with selected quality.

Properties

Link copied to clipboard
var defaultCharset: Charset

Default Charset to use.

Link copied to clipboard
var responseCharsetFallback: Charset

Fallback charset for the response. Use it if no charset specified.

Link copied to clipboard
var sendCharset: Charset? = null

Explicit Charset for sending content.