connect

open suspend override fun connect(url: String): WebSocketConnection

Opens a web socket connection and suspends until the connection is OPEN.

Throws

org.hildan.krossbow.websocket.WebSocketConnectionException

if an error occurs during the connection.