Пример #1
0
        public async Task <bool> Connect()
        {
            var ctx = _connection.Connect(new Uri(webSocketUri));

            return(await ctx);
        }
Пример #2
0
        public async Task <bool> Connect(string uri)
        {
            var ctx = _connection.Connect(new Uri(uri), ignoreReceiver: true);

            return(await ctx);
        }