Factory

interface Factory

Inheritors

Properties

Link copied to clipboard
abstract val name: String

The name of the protocol as in the Sec-WebSocket-Protocol header

Functions

Link copied to clipboard
abstract fun create(webSocketConnection: WebSocketConnection, listener: WsProtocol.Listener, scope: CoroutineScope): WsProtocol

Create a WsProtocol