DefaultWebSocketEngine

actual class DefaultWebSocketEngine : WebSocketEngine
expect class DefaultWebSocketEngine : WebSocketEngine
actual class DefaultWebSocketEngine : WebSocketEngine
actual class DefaultWebSocketEngine : WebSocketEngine

Constructors

Link copied to clipboard
fun DefaultWebSocketEngine(webSocketFactory: NSWebSocketFactory)
Link copied to clipboard
actual fun DefaultWebSocketEngine()
expect fun DefaultWebSocketEngine()
fun DefaultWebSocketEngine()
actual fun DefaultWebSocketEngine()
Link copied to clipboard
fun DefaultWebSocketEngine(webSocketFactory: WebSocket.Factory)

Functions

Link copied to clipboard
open suspend override fun open(url: String, headers: List<HttpHeader>): WebSocketConnection
open suspend override fun open(url: String, headers: Map<String, String>): WebSocketConnection

Open the websocket. Suspends until the handshake is done

abstract suspend fun open(url: String, headers: List<HttpHeader> = emptyList()): WebSocketConnection
abstract suspend fun open(url: String, headers: Map<String, String> = emptyMap()): WebSocketConnection

Open the websocket. Suspends until the handshake is done

open suspend override fun open(url: String, headers: List<HttpHeader>): WebSocketConnection
open suspend override fun open(url: String, headers: Map<String, String>): WebSocketConnection

Open the websocket. Suspends until the handshake is done

open suspend override fun open(url: String, headers: List<HttpHeader>): WebSocketConnection
open suspend override fun open(url: String, headers: Map<String, String>): WebSocketConnection

Open the websocket. Suspends until the handshake is done