connect

fun connect(uri: String)

Establishes a WebSocket connection to the specified URI.

Parameters

uri

The WebSocket URI to connect to.