1 write to ConnectionAborted
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
104ConnectionAborted = _connectionAbortedTokenSource.Token;
12 references to ConnectionAborted
Microsoft.AspNetCore.SignalR.Core (8)
DefaultHubLifetimeManager.cs (3)
58if (connection.ConnectionAborted.IsCancellationRequested) 407connection.ConnectionAborted, out var linkedToken); 431if (connection.ConnectionAborted.IsCancellationRequested)
HubConnectionContext.cs (2)
387var connectionToken = hubConnectionContext.ConnectionAborted; 436using var _ = CancellationTokenUtils.CreateLinkedToken(hubConnectionContext.ConnectionAborted, cancellationToken, out var linkedToken);
Internal\DefaultHubCallerContext.cs (1)
39public override CancellationToken ConnectionAborted => _connection.ConnectionAborted;
Internal\DefaultHubDispatcher.cs (2)
602streamCts ??= CancellationTokenSource.CreateLinkedTokenSource(connection.ConnectionAborted); 867cts = CancellationTokenSource.CreateLinkedTokenSource(connection.ConnectionAborted);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (4)
Internal\RedisSubscriptionManager.cs (1)
122if (connection.ConnectionAborted.IsCancellationRequested)
RedisHubLifetimeManager.cs (3)
360connection?.ConnectionAborted ?? default, out var linkedToken); 397if (connection?.ConnectionAborted.IsCancellationRequested == true) 539tokenRegistration = connection.ConnectionAborted.UnsafeRegister(_ =>