WebSocketDeflateExtension
Compress and decompress WebSocket frames to reduce amount of transferred bytes.
Usage
install(WebSockets) {
extensions {
install(WebSocketDeflateExtension)
}
}
Content copied to clipboard
Implements WebSocket deflate extension from RFC-7692. This implementation is using window size = 15 due to limitations of Deflater implementation.
Types
Properties
Link copied to clipboard
open val factory: <Error class: unknown class><WebSocketDeflateExtension.Config, out <Error class: unknown class><WebSocketDeflateExtension.Config>>
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun serverNegotiation(requestedProtocols: List<<Error class: unknown class>>): List<<Error class: unknown class>>