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