Esempio n. 1
0
 public virtual Task OnDisconnected(WebSocker socket) =>
 ConnectionManager.RemoveSocket(socket.Id);
Esempio n. 2
0
 public virtual Task <bool> SocketExists(string id) =>
 Task.FromResult(ConnectionManager.SocketExists(id));
Esempio n. 3
0
 public Handler(ConnectionManager connectionManager, IServiceScopeFactory scopeFactory)
 {
     ConnectionManager = connectionManager;
     _scopeFactory     = scopeFactory;
 }