Debugging STILL more

This commit is contained in:
Rick Falkvinge
2017-02-19 23:59:50 +01:00
parent 8e46838fca
commit cc5460040b
+6 -1
View File
@@ -253,7 +253,12 @@ namespace Swarmops.Frontend.Socket
public static void OnBackendMessage(object sender, MessageEventArgs args)
{
Console.WriteLine(" - Backend message: " + args.Data);
JObject json = JObject.Parse(args.Data);
if ((string) json["MessageType"] != "Heartbeat")
{
Console.WriteLine(" - Backend message: " + args.Data);
}
_socketServer.WebSocketServices.Broadcast(args.Data); // send unfiltered to all sessions, for now
}