Exemplo n.º 1
0
 Task IMahuaWebsocketClientManager.StartNew(IMahuaWebsocketClient websocketClient)
 {
     return(StartNew(websocketClient));
 }
Exemplo n.º 2
0
 private static Task StartNew(IMahuaWebsocketClient websocketClient)
 {
     Clients.TryAdd(DateTimeOffset.Now.ToUnixTimeMilliseconds(), websocketClient);
     return(websocketClient.Start());
 }