DefaultWebSocketEngine

Constructors

Link copied to clipboard
constructor(webSocketFactory: NSWebSocketFactory)
actual constructor()
expect constructor()
constructor()
constructor(webSocketFactory: <Error class: unknown class>)
actual constructor()
actual constructor()

Functions

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

Open the websocket. Suspends until the handshake is done

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