fixes lol
Some checks failed
Build and Push / build-all (push) Has been cancelled

This commit is contained in:
doomtube 2026-01-11 20:08:40 -05:00
parent 58392b7d6a
commit 381e8b79b0
17 changed files with 282 additions and 82 deletions

View file

@ -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);