GameList: Add cover downloader

This commit is contained in:
Connor McLaughlin
2022-09-09 20:32:21 +10:00
parent dde2f6cd68
commit bf76780f11
10 changed files with 284 additions and 49 deletions

View File

@@ -5,6 +5,7 @@
#include <memory>
#include <mutex>
#include <string>
#include <string_view>
#include <vector>
namespace Common {
@@ -53,6 +54,8 @@ public:
virtual ~HTTPDownloader();
static std::unique_ptr<HTTPDownloader> Create(const char* user_agent = DEFAULT_USER_AGENT);
static std::string URLEncode(const std::string_view& str);
static std::string URLDecode(const std::string_view& str);
void SetTimeout(float timeout);
void SetMaxActiveRequests(u32 max_active_requests);