connect

fun connect(uri: String)

Establishes a connection to the WebSocket server with the given URI.

Parameters

uri

The WebSocket URI to connect to.