addon: Add getters for the server identification
This commit is contained in:
parent
f7038a0b27
commit
597a64701c
1 changed files with 10 additions and 0 deletions
|
@ -218,6 +218,16 @@ public:
|
|||
return conn_ && conn_->using_tls();
|
||||
}
|
||||
|
||||
const std::string& server_id() const
|
||||
{
|
||||
return server_id_;
|
||||
}
|
||||
|
||||
const std::string& server_version() const
|
||||
{
|
||||
return server_version_;
|
||||
}
|
||||
|
||||
private:
|
||||
enum class transfer_mode {download, connect, upload};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue