Work on progress bar

This commit is contained in:
Rick Falkvinge
2018-02-11 15:35:04 +01:00
parent 869ab68f85
commit 9edbfd8c5c
5 changed files with 19 additions and 11 deletions
+4
View File
@@ -51,6 +51,10 @@ namespace Swarmops.Frontend.Socket
case "Metapackage":
ProcessMetapackage((string) json["XmlData"]);
break;
case "BroadcastProgress":
Sessions.Broadcast("{\"messageType\":\"ProgressUpdate\",\"Guid\":\"" + json["Guid"] +
"\",\"Progress\":\"" + json["Progress"] + "\"}");
break;
case "Ping":
// TODO: Request heartbeat from backend
// Sessions.Broadcast("{\"messageType\":\"Heartbeat\"}");