open

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

Open the websocket. Suspends until the handshake is done