public override Task OnConnected() { var client = new MyUserType(); client.ConnectionId = Guid.Parse(Context.ConnectionId); ConnectedUsers.TryAdd(client.ConnectionId, client); PushIdentifier(client.ConnectionId); return base.OnConnected(); }
public override Task OnConnected() { var client = new MyUserType(); client.ConnectionId = Guid.Parse(Context.ConnectionId); ConnectedUsers.TryAdd(client.ConnectionId, client); PushIdentifier(client.ConnectionId); return(base.OnConnected()); }