Config

class Config

WebSockets configuration.

Constructors

<init>

Config()

WebSockets configuration.

Properties

maxFrameSize

var maxFrameSize: Long

Sets maximum frame size in bytes.

pingInterval

var pingInterval: Long

Sets interval of sending ping frames.

Functions

extensions

fun extensions(
    block: WebSocketExtensionsConfig.() -> Unit
): Unit

Configure WebSocket extensions.