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

@ -29,6 +29,7 @@ namespace HTTP{
Parser &getHTTP();
Socket::Connection &getSocket();
uint32_t retryCount, dataTimeout;
bool isProxied() const;
private:
std::map<std::string, std::string> extraHeaders; ///< Holds extra headers to sent with request