settings, token entry, receive READY

This commit is contained in:
ouwou
2020-08-19 01:07:55 -04:00
parent 18af78e6af
commit 3c3fe3b9f7
15 changed files with 360 additions and 36 deletions

View File

@@ -13,6 +13,9 @@ public:
using JSONCallback_t = std::function<void(nlohmann::json)>;
void SetJSONCallback(JSONCallback_t func);
void Send(const std::string &str);
void Send(const nlohmann::json &j);
void Stop();
bool IsOpen() const;
private:
void OnMessage(const ix::WebSocketMessagePtr &msg);