Package-level declarations
Types
Link copied to clipboard
Client content encoder.
Link copied to clipboard
class ContentEncoding
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
Functions
Link copied to clipboard
fun HttpClientConfig<*>.ContentEncoding(block: ContentEncoding.Config.() -> Unit = {
gzip()
deflate()
identity()
})
Installs or configures the ContentEncoding plugin.