connect method

void connect(
  1. String url
)

Connect to the given Resgate server.

Implementation

void connect(String url) {
  channel = WebSocketChannel.connect(Uri.parse(url));
  stream = channel.stream.asBroadcastStream();
}