allow overriding of gateway + api url

This commit is contained in:
ouwou
2021-06-03 19:23:33 -04:00
parent c3b2bbd647
commit 5866836d5d
7 changed files with 41 additions and 12 deletions
+3 -1
View File
@@ -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);