Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2019-11-07 13:40:50 +01:00
commit 0305288f16
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 /// Returns a reference to the internal HTTP::Parser body element
std::string &Downloader::data(){return H.body;} std::string &Downloader::data(){return H.body;}

View file

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