class Compression
Feature to compress a response based on conditions and ability of client to decompress it
class Configuration : ConditionsHolderBuilder
Configuration builder for Compression feature |
|
companion object Feature : ApplicationFeature<ApplicationCallPipeline, Configuration, Compression>
|
Compression(compression: Configuration)
Feature to compress a response based on conditions and ability of client to decompress it |
val SuppressionAttribute: AttributeKey<Boolean>
Attribute that could be added to an application call to prevent it's response from being compressed |
|
val key: AttributeKey<Compression>
Unique key that identifies a feature |
fun install(pipeline: ApplicationCallPipeline, configure: Configuration.() -> Unit): Compression
Feature installation script |