connect

fun connect(url: String, params: Map<String, String>? = null)

Method to establish connection.

Parameters

url

The url of the web socket.

params

Connection params for the web socket.