diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-06-03 19:23:33 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-06-03 19:23:33 -0400 |
commit | 5866836d5d423ccf52ac8fbbe94df6c9cf7debac (patch) | |
tree | b794aa32ab1a9fc33d35d38bd996682f94b40469 /discord/httpclient.hpp | |
parent | c3b2bbd64739d18fe69781c86d327c79b559eddd (diff) | |
download | abaddon-portaudio-5866836d5d423ccf52ac8fbbe94df6c9cf7debac.tar.gz abaddon-portaudio-5866836d5d423ccf52ac8fbbe94df6c9cf7debac.zip |
allow overriding of gateway + api url
Diffstat (limited to 'discord/httpclient.hpp')
-rw-r--r-- | discord/httpclient.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/discord/httpclient.hpp b/discord/httpclient.hpp index 8038334..81723b8 100644 --- a/discord/httpclient.hpp +++ b/discord/httpclient.hpp @@ -11,7 +11,9 @@ class HTTPClient { public: - HTTPClient(std::string api_base); + HTTPClient(); + + void SetBase(const std::string &url); void SetUserAgent(std::string agent); void SetAuth(std::string auth); |