Update to new communication protocol
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include <json.hpp>
|
||||
#include <Logging.h>
|
||||
#include <sstream>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
namespace ToonBridge {
|
||||
@@ -21,6 +22,7 @@ WebSocketSubscription::~WebSocketSubscription()
|
||||
void WebSocketSubscription::Reconnect()
|
||||
{
|
||||
CloseWebSocket();
|
||||
sleep(3);
|
||||
OpenWebSocket();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user