private void Ws_Received(object sender, string e)
        {
            var raw = e;

            Debug.WriteLine(raw);
            var message = MetaParser.Parse(raw);

            Received?.Invoke(this, message);
        }
Пример #2
0
        private void Ws_Received(object sender, string e)
        {
            var raw = e;

            Debug.WriteLine(raw);
            try
            {
                var message = MetaParser.Parse(raw);
                Received?.Invoke(this, message);
            }
            catch (Exception ex)
            {
                _logger.LogException(ex);
            }
        }