Package io.ktor.client.features.compression
Types
Link copied to clipboard
Client content encoder.
Link copied to clipboard
class ContentEncoding(encoders: Map<String, ContentEncoder>, qualityValues: Map<String, Float>)
Content copied to clipboard
Content-Encoding header support.
Link copied to clipboard
class UnsupportedContentEncodingException(encoding: String) : IllegalStateException
Content copied to clipboard
Functions
Link copied to clipboard
fun HttpClientConfig<*>.ContentEncoding(block: ContentEncoding.Config.() -> Unit = {
gzip()
deflate()
identity()
})
Content copied to clipboard
Install or configure ContentEncoding feature.