3 types derived from HubConnectionContext
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
6 instantiations of HubConnectionContext
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
182 references to HubConnectionContext
Microsoft.AspNetCore.SignalR (1)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Microsoft.AspNetCore.SignalR.Core (76)
DefaultHubLifetimeManager.cs (10)
39var connection = _connections[connectionId];
72var connection = _connections[connectionId];
99private Task SendToAllConnections(string methodName, object?[] args, Func<HubConnectionContext, object?, bool>? include, object? state = null, CancellationToken cancellationToken = default)
105foreach (var connection in _connections)
147private static void SendToGroupConnections(string methodName, object?[] args, ConcurrentDictionary<string, HubConnectionContext> connections, Func<HubConnectionContext, object?, bool>? include, object? state, ref List<Task>? tasks, ref SerializedHubMessage? message, CancellationToken cancellationToken)
187var connection = _connections[connectionId];
292public override Task OnConnectedAsync(HubConnectionContext connection)
299public override Task OnDisconnectedAsync(HubConnectionContext connection)
338var connection = _connections[connectionId];
Internal\DefaultHubDispatcher.cs (17)
83public override async Task OnConnectedAsync(HubConnectionContext connection)
119public override async Task OnDisconnectedAsync(HubConnectionContext connection, Exception? exception)
154public override Task DispatchMessageAsync(HubConnectionContext connection, HubMessage hubMessage)
245private Task ProcessInvocationBindingFailure(HubConnectionContext connection, InvocationBindingFailureMessage bindingFailureMessage)
254private Task ProcessStreamBindingFailure(HubConnectionContext connection, StreamBindingFailureMessage bindingFailureMessage)
270private Task ProcessStreamItem(HubConnectionContext connection, StreamItemMessage message)
282private Task ProcessInvocation(HubConnectionContext connection,
318private async Task<bool> Invoke(HubMethodDescriptor descriptor, HubConnectionContext connection,
391HubConnectionContext connection,
492private static ValueTask CleanupInvocation(HubConnectionContext connection, HubMethodInvocationMessage hubMessage, IHubActivator<THub>? hubActivator,
511private async Task StreamAsync(string invocationId, HubConnectionContext connection, object?[] arguments, AsyncServiceScope scope,
606private ValueTask<object?> ExecuteHubMethod(ObjectMethodExecutor methodExecutor, THub hub, object?[] arguments, HubConnectionContext connection, IServiceProvider serviceProvider)
648private static async Task SendInvocationError(string? invocationId, HubConnectionContext connection, string errorMessage)
658private void InitializeHub(THub hub, HubConnectionContext connection, bool invokeAllowed = true)
665private static Task<bool> IsHubMethodAuthorized(IServiceProvider provider, HubConnectionContext hubConnectionContext, HubMethodDescriptor descriptor, object?[] hubMethodArguments, Hub hub)
691HubMethodInvocationMessage hubMethodInvocationMessage, HubConnectionContext connection)
719HubConnectionContext connection, AsyncServiceScope scope, ref object?[] arguments, out CancellationTokenSource? cts)
Microsoft.AspNetCore.SignalR.Microbenchmarks (5)
Microsoft.AspNetCore.SignalR.Specification.Tests (46)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (18)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (5)
Microsoft.AspNetCore.SignalR.Tests (29)
Microsoft.AspNetCore.SignalR.Tests.Utils (1)