Config

class Config

WebSocket deflate extension configuration.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Specify if the client drops the deflater state (reset the window) after each frame.

Link copied to clipboard

Compression level that is used for outgoing frames in the Deflate instance.

Link copied to clipboard

Specify if the server drops the deflater state (reset the window) after each frame.

Functions

Link copied to clipboard
fun compressIf(block: (frame: Frame) -> Boolean)

Indicates if the outgoing frame should be compressed.

Link copied to clipboard

Specify the minimum size of frame for compression.

Link copied to clipboard
fun configureProtocols(block: (protocols: MutableList<<Error class: unknown class>>) -> Unit)

Configure which protocols should send the client.