RequestCompressionConfig

The configuration properties for request compression.

Constructors

Link copied to clipboard
constructor(builder: RequestCompressionConfig.Builder)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val compressionAlgorithms: List<<Error class: unknown class>>

The list of compression algorithms supported by the client. More compression algorithms can be added and may override an existing implementation. Use the CompressionAlgorithm interface to create one.

Link copied to clipboard

Flag used to determine when a request should be compressed or not. False by default.

Link copied to clipboard

The threshold in bytes used to determine if a request should be compressed or not. MUST be in the range 0-10,485,760 (10 MB). Defaults to 10,240 (10 KB).

Functions

Link copied to clipboard