WebSocketExtensionsConfig

class WebSocketExtensionsConfig

Extensions configuration for WebSocket client and server plugins.

Constructors

Link copied to clipboard
fun WebSocketExtensionsConfig()

Functions

Link copied to clipboard
fun build(): List<WebSocketExtension<*>>

Instantiate all installed extensions.

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

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