Package io.ktor.client.plugins.compression
Types
Link copied to clipboard
Client content encoder.
Link copied to clipboard
A plugin that allows you to enable specified compression algorithms (such as gzip
and deflate
) and configure their settings. This plugin serves two primary purposes:
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
Installs or configures the ContentEncoding plugin.