From 32d35cec714aee745776afe2613773ef7a9df1c2 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Fri, 15 May 2020 12:50:50 +0200 Subject: [PATCH] Added "messageType" field to header that is constructed in SEND_CLIENTS for sending to clients. --- source/handlers/response.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/handlers/response.d b/source/handlers/response.d index 8b130c5..e03d769 100644 --- a/source/handlers/response.d +++ b/source/handlers/response.d @@ -181,6 +181,7 @@ public final class HandlerResponse /* Set the header of the response */ JSONValue headerBlock; /* TODO: Do something with this */ + headerBlock["messageType"] = "receivedMessage"; clientPayload["header"] = headerBlock; /* Set the payload of the response */