public override Task OnConnectedAsync() { _testHubConnectionManager.AddClient(Context.ConnectionId); _testHubConnectionManager.AddUser(Context.UserIdentifier); return(Task.CompletedTask); }
public override Task OnConnected() { _testHubConnectionManager.AddClient(Context.ConnectionId); _testHubConnectionManager.AddUser(Context.Request.QueryString["user"]); return(base.OnConnected()); }