From 0bef191acd5a77544852e6a3daae2df05bd34a31 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Wed, 19 Jan 2022 11:20:45 +0000
Subject: [PATCH] Reformat and change send to x-www-form-urlencoded

---
 protocol.hpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/protocol.hpp b/protocol.hpp
index 1893fd0..a1a371d 100644
--- a/protocol.hpp
+++ b/protocol.hpp
@@ -3,6 +3,7 @@
 #include "book.hpp"
 #include "json.hpp"
 
+#include <deque>
 #include <string>
 #include <unordered_map>
 
@@ -12,6 +13,9 @@
 
 // Catchup utilities
 std::unordered_map<std::string, book::Book> recoverBook();
+void createWebSocket();
+std::deque<json::Message*>
+catchUp(std::unordered_map<std::string, book::Book>& bs);
 
 // Outgoing messages
 json::Message* addOrder(json::AddMessage& order);

--
Gitblit v1.9.3