mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
add user/password in url parser
This commit is contained in:
7
util.h
7
util.h
@@ -40,8 +40,11 @@ namespace util
|
||||
private:
|
||||
void parse(const std::string& url_s);
|
||||
public:
|
||||
std::string protocol_, host_, path_, query_;
|
||||
unsigned int port_;
|
||||
std::string protocol_, host_, path_, query_;
|
||||
std::string portstr_ = "80";
|
||||
unsigned int port_ = 80;
|
||||
std::string user_ = "";
|
||||
std::string pass_ = "";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user