Exemplo n.º 1
0
 public ServiceClient(ObsClient obs)
 {
     _obs        = obs;
     _connection = new HubConnectionBuilder()
                   .WithUrl("https://425bot.azurewebsites.net/twitch")
                   .WithAutomaticReconnect()
                   .Build();
     this.Init().Wait();
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            var a = new ObsClient();

            a.Connect("ws://localhost:4444", "");
            // a.Mute("Christos A/V");
            var sr = new ServiceClient(a);

            Console.ReadLine();
        }