adjust protocoll

This commit is contained in:
2022-09-05 17:45:18 +02:00
parent ff179ee3a4
commit 0612afb37b
3 changed files with 17 additions and 15 deletions
+1 -2
View File
@@ -25,7 +25,6 @@ class Websocket
char lastPath[513] = "";
char lastHash[2 * MD5LEN + 1] = "";
ix::WebSocket *webSocket = nullptr;
std::mutex wsLock;
std::string host;
std::string user;
std::function<void(std::string)> toLog;
@@ -36,7 +35,7 @@ class Websocket
std::function<void(const std::string)> toLog);
~Websocket();
void onClientMessageCallback(const ix::WebSocketMessagePtr &msg);
void sendData(data d);
void sendData(data &d);
};
#endif