object ServerConfig
- Companion:
- class
Type members
Classlikes
- Value parameters:
- bits
defines windowBits, The base two logarithm of the size of the history buffer. The value should be in the range
9
to15
inclusive. Larger values result in better compression at the expense of memory usage- level
defines compression level,
1
yields the fastest compression and9
yields the best compression.0
means no compression.- mem
defines memlevel, How much memory should be allocated for the internal compression state.
1
uses minimum memory and9
uses maximum memory. Larger values result in better and faster compression at the expense of memory usage
- Companion:
- object
final case class ResponseCompressionConfig(contentThreshold: Int, options: IndexedSeq[CompressionOptions])
Value members
Concrete methods
def responseCompressionConfig(contentThreshold: Int, options: IndexedSeq[CompressionOptions]): ResponseCompressionConfig