diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-23 21:07:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 21:07:03 +0000 |
commit | b28bfd6f208bc04b4157130eabfcf61b1825570d (patch) | |
tree | 7c2f770d7cda4d48571c8df69dc7460f1aa7bea0 /discord/discord.hpp | |
parent | 547124c94f8808d6dca407af7b6eb0d29ac12e45 (diff) | |
download | abaddon-portaudio-b28bfd6f208bc04b4157130eabfcf61b1825570d.tar.gz abaddon-portaudio-b28bfd6f208bc04b4157130eabfcf61b1825570d.zip |
remove cpr as a dependency (#21)
abstract away library usage
Diffstat (limited to 'discord/discord.hpp')
-rw-r--r-- | discord/discord.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/discord.hpp b/discord/discord.hpp index 11315f9..a6f5d99 100644 --- a/discord/discord.hpp +++ b/discord/discord.hpp @@ -1,6 +1,6 @@ #pragma once #include "websocket.hpp" -#include "http.hpp" +#include "httpclient.hpp" #include "objects.hpp" #include "store.hpp" #include <sigc++/sigc++.h> @@ -175,7 +175,7 @@ private: void HandleSocketOpen(); void HandleSocketClose(uint16_t code); - bool CheckCode(const cpr::Response &r); + bool CheckCode(const http::response_type &r); void StoreMessageData(Message &msg); |