Skip to content

Instantly share code, notes, and snippets.

@ArcticEcho
Last active January 18, 2016 20:15
Show Gist options
  • Save ArcticEcho/dabc5779afdff52877c3 to your computer and use it in GitHub Desktop.
Save ArcticEcho/dabc5779afdff52877c3 to your computer and use it in GitHub Desktop.
using System;
using WebSocketSharp;
static class Program
{
static void Main()
{
var ws = new WebSocket("wss://qa.sockets.stackexchange.com");
ws.OnOpen += (o, oo) => ws.Send("1-review-dashboard-update");
ws.OnMessage += (o, oo) => Console.WriteLine(oo.Data);
ws.Connect();
Console.Read();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment