fix #7 and some other "improvements"

This commit is contained in:
ouwou
2020-12-11 00:12:43 -05:00
parent df781e0dc6
commit a9e41482f5
6 changed files with 463 additions and 33 deletions

View File

@@ -19,7 +19,7 @@ public:
std::string GetPathIfCached(std::string url);
private:
std::string SanitizeString(std::string str);
std::string GetCachedName(std::string str);
void CleanupFutures();
void RespondFromPath(std::filesystem::path path, callback_type cb);
void OnResponse(const cpr::Response &r);