diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-08-20 03:19:16 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-08-20 03:19:16 -0400 |
commit | a201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c (patch) | |
tree | e7b28048f1150c379db1fb27e8efa032aafaf06d /discord/http.hpp | |
parent | 4b903bbd3e8436e1d63b8c12e76d8a3c924da5fc (diff) | |
download | abaddon-portaudio-a201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c.tar.gz abaddon-portaudio-a201d5905ad9188e890eeb0cc0aee8d4fb9dcf3c.zip |
rudimentary chat
Diffstat (limited to 'discord/http.hpp')
-rw-r--r-- | discord/http.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/http.hpp b/discord/http.hpp index ded2758..7a72589 100644 --- a/discord/http.hpp +++ b/discord/http.hpp @@ -19,6 +19,7 @@ public: HTTPClient(std::string api_base); void SetAuth(std::string auth); + void MakeGET(std::string path, std::function<void(cpr::Response r)> cb); void MakePATCH(std::string path, std::string payload, std::function<void(cpr::Response r)> cb); void MakePOST(std::string path, std::string payload, std::function<void(cpr::Response r)> cb); |