mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
load host.txt via HTTPProxy
This commit is contained in:
parent
cdbcf0db76
commit
0c36925b87
4 changed files with 67 additions and 11 deletions
2
util.h
2
util.h
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue