Fixed Downloader class progress callbacks, added HTTP::Parser progress calculation function.

This commit is contained in:
Thulinma 2019-05-22 00:08:35 +02:00
parent e1150fe871
commit 917ce2d452
3 changed files with 26 additions and 2 deletions

View file

@ -24,6 +24,7 @@ namespace HTTP{
const std::string &GetHeader(const std::string &i) const;
bool hasHeader(const std::string &i) const;
void clearHeader(const std::string &i);
uint8_t getPercentage() const;
const std::string &GetVar(const std::string &i) const;
std::string getUrl();
std::string allVars();