Ejemplo n.º 1
0
 public DummyImpl(IDataServer server, string input, ILogger logger, CookieContainer cc, IMixerSiteOptions siteOptions, MessageProvider2 p1)
 {
     _server = server;
     _input  = input;
     _cc     = cc;
     _p1     = p1;
 }
Ejemplo n.º 2
0
        public async Task InitAsync()
        {
            if (_isInitialized)
            {
                return;
            }
            _isInitialized = true;

            var p1 = new MessageProvider2(new Websocket("wss://chat.mixer.com/?version=1.0"), _logger);

            p1.MessageReceived += P1_MessageReceived;
            p1.MetadataUpdated += P1_MetadataUpdated;
            _p1 = p1;
        }