This commit is contained in:
parent
58392b7d6a
commit
381e8b79b0
17 changed files with 282 additions and 82 deletions
|
|
@ -57,8 +57,10 @@ private:
|
|||
RestreamService& operator=(const RestreamService&) = delete;
|
||||
|
||||
std::string getBaseUrl();
|
||||
std::string getPushProxyUrl(); // Openresty proxy for push API (avoids URL encoding issues)
|
||||
std::string getApiToken();
|
||||
drogon::HttpClientPtr getClient();
|
||||
drogon::HttpClientPtr getPushProxyClient(); // Client for push proxy
|
||||
drogon::HttpRequestPtr createRequest(drogon::HttpMethod method, const std::string& path);
|
||||
drogon::HttpRequestPtr createJsonRequest(drogon::HttpMethod method, const std::string& path,
|
||||
const Json::Value& body);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue