WebSocketExtensionsConfig

class WebSocketExtensionsConfig

Extensions configuration for WebSocket client and server features.

Constructors

<init>

WebSocketExtensionsConfig()

Extensions configuration for WebSocket client and server features.

Functions

build

fun build(): List<WebSocketExtension<*>>

Instantiate all installed extensions.

install

fun <ConfigType : Any> install(
    extension: WebSocketExtensionFactory<ConfigType, *>,
    config: ConfigType.() -> Unit = {}
): Unit

Install provided extension using config. Every extension is processed in order of installation.