Package io.ktor.client.features.compression

Types

Link copied to clipboard
interface ContentEncoder : Encoder

Client content encoder.

Link copied to clipboard
class ContentEncoding(encoders: Map<String, ContentEncoder>, qualityValues: Map<String, Float>)

Content-Encoding header support.

Link copied to clipboard
class UnsupportedContentEncodingException(encoding: String) : IllegalStateException

Functions

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

Install or configure ContentEncoding feature.