Add username/password to Hello message

This commit is contained in:
badaix 2025-02-06 21:11:38 +01:00
parent 3cb2b4dd93
commit 49d6d1c58f
6 changed files with 40 additions and 4 deletions

View file

@ -66,6 +66,10 @@ struct ClientSettings
std::string protocol{"tcp"};
/// server port
size_t port{1704};
/// username
std::optional<std::string> username;
/// password
std::optional<std::string> password;
/// server certificate
std::optional<std::filesystem::path> server_certificate;
/// Certificate file