WebSocketEngine

interface WebSocketEngine

The low-level WebSocket API. Implement this interface to customize how WebSockets are handled

Inheritors

Functions

Link copied to clipboard
abstract suspend fun open(url: String, headers: List<HttpHeader> = emptyList()): WebSocketConnection

Open the websocket. Suspends until the handshake is done