Added ability to check if the downloader is being proxied or not

This commit is contained in:
Thulinma 2019-11-07 13:40:35 +01:00
parent 56897ceded
commit 8dd403a098
2 changed files with 3 additions and 0 deletions

View file

@ -20,6 +20,8 @@ namespace HTTP{
}
}
bool Downloader::isProxied() const{return proxied;}
/// Returns a reference to the internal HTTP::Parser body element
std::string &Downloader::data(){return H.body;}