summaryrefslogtreecommitdiff
path: root/discord/websocket.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-11-15 02:21:14 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2020-11-15 02:21:14 -0500
commit266fb15c9163f387b9180135e58e0f88bf4ab7d7 (patch)
treefe7bac966b6e1cca8a896beca17f9dc07c17549e /discord/websocket.hpp
parentdb0833fe861bfc894f303e8afb796a79cb71a6d2 (diff)
downloadabaddon-portaudio-266fb15c9163f387b9180135e58e0f88bf4ab7d7.tar.gz
abaddon-portaudio-266fb15c9163f387b9180135e58e0f88bf4ab7d7.zip
handle reconnect messages
Diffstat (limited to 'discord/websocket.hpp')
-rw-r--r--discord/websocket.hpp1
1 files changed, 1 insertions, 0 deletions
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: