customEncoder

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

Installs a custom encoder.

Parameters

encoder

a custom encoder to use.

quality

a priority value to use in the Accept-Encoding header.