WebSocketExtensionFactory
interface WebSocketExtensionFactory<ConfigType : Any, ExtensionType : WebSocketExtension<ConfigType>>
Content copied to clipboard
Factory that defines WebSocket extension. The factory is used in pair with WebSocketExtensionsConfig.install method to install WebSocket extension in client or server.
Usually this interface implemented in companion object
of the origin WebSocketExtension.
Functions
Link copied to clipboard
Create extension instance using config block. The extension instance is created for each WebSocket request.