load host.txt via HTTPProxy

This commit is contained in:
chertov 2014-04-18 02:54:15 +04:00
parent cdbcf0db76
commit 0c36925b87
4 changed files with 67 additions and 11 deletions

2
util.h
View file

@ -35,6 +35,8 @@ namespace util
namespace http
{
std::string httpRequest(const std::string& address);
int httpRequestViaI2pProxy(const std::string& address, std::string &content); // return http code
struct url {
url(const std::string& url_s); // omitted copy, ==, accessors, ...
private: