Package-level declarations
Types
Link copied to clipboard
class ContentEncodingConfig
A configuration for the ContentEncoding plugin.
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Compresses request body using ContentEncoding plugin.
Compress request body using ContentEncoding plugin.
Link copied to clipboard
fun HttpClientConfig<*>.ContentEncoding(mode: ContentEncodingConfig.Mode = ContentEncodingConfig.Mode.DecompressResponse, block: ContentEncodingConfig.() -> Unit = {
gzip()
deflate()
identity()
})
Installs or configures the ContentEncoding plugin.