Config

class Config

ContentEncoding configuration.

Constructors

<init>

Config()

ContentEncoding configuration.

Functions

customEncoder

fun customEncoder(
    encoder: ContentEncoder,
    quality: Float? = null
): Unit

Install custom encoder.

deflate

fun deflate(quality: Float? = null): Unit

Install deflate encoder.

gzip

fun gzip(quality: Float? = null): Unit

Install gzip encoder.

identity

fun identity(quality: Float? = null): Unit

Install identity encoder.