Package io.ktor.client.features.compression

Types

ContentEncoder

interface ContentEncoder : Encoder

Client content encoder.

ContentEncoding

class ContentEncoding

Content-Encoding header support.

Exceptions

UnsupportedContentEncodingException

class UnsupportedContentEncodingException : 
    IllegalStateException

Functions

ContentEncoding

fun HttpClientConfig<*>.ContentEncoding(
    block: Config.() -> Unit = { gzip() deflate() identity() }
): Unit

Install or configure ContentEncoding feature.