connect

abstract suspend fun connect(url: String): WebSocketConnection

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

Throws

if an error occurs during the connection.

Sources

Link copied to clipboard