From 266fb15c9163f387b9180135e58e0f88bf4ab7d7 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 15 Nov 2020 02:21:14 -0500 Subject: handle reconnect messages --- discord/websocket.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'discord/websocket.hpp') diff --git a/discord/websocket.hpp b/discord/websocket.hpp index 8e3aa94..364160b 100644 --- a/discord/websocket.hpp +++ b/discord/websocket.hpp @@ -15,6 +15,7 @@ public: void Send(const std::string &str); void Send(const nlohmann::json &j); void Stop(); + void Stop(uint16_t code); bool IsOpen() const; private: -- cgit v1.2.3