public async Task <bool> Connect() { var ctx = _connection.Connect(new Uri(webSocketUri)); return(await ctx); }
public async Task <bool> Connect(string uri) { var ctx = _connection.Connect(new Uri(uri), ignoreReceiver: true); return(await ctx); }