Config

class Config

A configuration for the ContentEncoding plugin.

Constructors

Link copied to clipboard
fun Config()

Functions

Link copied to clipboard
fun customEncoder(encoder: ContentEncoder, quality: Float? = null)

Installs a custom encoder.

Link copied to clipboard
fun deflate(quality: Float? = null)

Installs the deflate encoder.

Link copied to clipboard
fun gzip(quality: Float? = null)

Installs the gzip encoder.

Link copied to clipboard
fun identity(quality: Float? = null)

Installs the identity encoder.