mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Support mesh connection
This commit is contained in:
@@ -56,7 +56,8 @@ class TransmissionManager {
|
||||
bool UpdateUsernameToWsHandle(const std::string& username,
|
||||
websocketpp::connection_hdl hdl);
|
||||
std::string GetUsername(websocketpp::connection_hdl hdl);
|
||||
websocketpp::connection_hdl GetWsHandle(const std::string& username);
|
||||
// websocketpp::connection_hdl GetWsHandle(const std::string& username);
|
||||
websocketpp::connection_hdl GetWsHandle(const std::string& user_id);
|
||||
|
||||
private:
|
||||
std::map<std::string, websocketpp::connection_hdl> transmission_host_list_;
|
||||
|
||||
Reference in New Issue
Block a user