customEncoder

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

Install custom encoder.

Parameters

encoder - : custom encoder to use.

quality - : priority value to use in Accept-Encoding header.