connect

suspend fun connect(): Result<Unit>

Connect to chat server via websocket. Supports SSL and non-SSL connections. Be aware SSL takes insecure certificates.