1 instantiation of ConnectionState
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
504var startingConnectionState = new ConnectionState(connection, this);
25 references to ConnectionState
Microsoft.AspNetCore.SignalR.Client.Core (25)
HubConnection.cs (25)
504var startingConnectionState = new ConnectionState(connection, this); 580var connectionState = _state.CurrentConnectionStateUnsynchronized; 738ConnectionState? connectionState; 893private Dictionary<string, object>? PackageStreamingParams(ConnectionState connectionState, ref object?[] args, out List<string>? streamIds) 950private Task[]? LaunchStreams(ConnectionState connectionState, Dictionary<string, object>? readers, CancellationToken cancellationToken) 1006private Task InvokeStreamMethod(MethodInfo methodInfo, Type[] genericTypes, ConnectionState connectionState, string streamId, object reader, CancellationTokenSource tokenSource) 1028private Task ReflectionSendStreamItems(MethodInfo methodInfo, ConnectionState connectionState, string streamId, object reader, CancellationTokenSource tokenSource) 1064private Task SendStreamItems<T>(ConnectionState connectionState, string streamId, ChannelReader<T> reader, CancellationTokenSource tokenSource) 1081private Task SendIAsyncEnumerableStreamItems<T>(ConnectionState connectionState, string streamId, IAsyncEnumerable<T> stream, CancellationTokenSource tokenSource) 1094private async Task SendStreamItemAsync(ConnectionState connectionState, string streamId, object? item, CancellationTokenSource tokenSource) 1100private async Task CommonStreaming(ConnectionState connectionState, string streamId, Func<Task> createAndConsumeStream, CancellationTokenSource cts) 1148private async Task<(ConnectionState, Activity?)> WaitForActiveConnectionWithActivityAsync(string sendingMethodName, string invokedMethodName, CancellationToken token) 1156ConnectionState connectionState; 1309private async Task InvokeCore(ConnectionState connectionState, string methodName, InvocationRequest irq, object?[] args, string[]? streams, CancellationToken cancellationToken) 1338private async Task InvokeStreamCore(ConnectionState connectionState, string methodName, InvocationRequest irq, object?[] args, string[]? streams, CancellationToken cancellationToken) 1381private async Task SendHubMessage(ConnectionState connectionState, HubMessage hubMessage, CancellationToken cancellationToken = default) 1443private async Task SendWithLock(ConnectionState expectedConnectionState, HubMessage message, CancellationToken cancellationToken, [CallerMemberName] string callerName = "") 1446var connectionState = await _state.WaitForActiveConnectionAsync(callerName, token: cancellationToken).ConfigureAwait(false); 1461private async Task<CloseMessage?> ProcessMessagesAsync(HubMessage message, ConnectionState connectionState, ChannelWriter<InvocationMessage> invocationMessageWriter) 1548private async Task DispatchInvocationAsync(InvocationMessage invocation, ConnectionState connectionState) 1665private async Task HandshakeAsync(ConnectionState startingConnectionState, int protocolVersion, CancellationToken cancellationToken) 1770private async Task ReceiveLoop(ConnectionState connectionState) 1907private async Task HandleConnectionClose(ConnectionState connectionState) 2637public ConnectionState? CurrentConnectionStateUnsynchronized { get; set; } 2695public async Task<ConnectionState> WaitForActiveConnectionAsync(string methodName, CancellationToken token)