mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
add user/password in url parser
This commit is contained in:
parent
7a89f487b8
commit
5913032503
2 changed files with 41 additions and 5 deletions
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_ = "";
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue