1 write to Connection
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
2455Connection = connection;
15 references to Connection
Microsoft.AspNetCore.SignalR.Client.Core (15)
HubConnection.cs (15)
220public string? ConnectionId => _state.CurrentConnectionStateUnsynchronized?.Connection.ConnectionId; 565await CloseAsync(startingConnectionState.Connection).ConfigureAwait(false); 616var connection = connectionState.Connection; 907if (connectionState.Connection.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 1527_protocol.WriteMessage(hubMessage, connectionState.Connection.Transport.Output); 1529await connectionState.Connection.Transport.Output.FlushAsync(cancellationToken).ConfigureAwait(false); 1664if (connectionState.Connection.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 1812HandshakeProtocol.WriteRequestMessage(handshakeRequest, startingConnectionState.Connection.Transport.Output); 1814var sendHandshakeResult = await startingConnectionState.Connection.Transport.Output.FlushAsync(CancellationToken.None).ConfigureAwait(false); 1824var input = startingConnectionState.Connection.Transport.Input; 1949var input = connectionState.Connection.Transport.Input; 2061await CloseAsync(connectionState.Connection).ConfigureAwait(false); 2465if (Connection.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 2563Connection.Transport.Input.CancelPendingRead(); 2702Connection.Transport.Input.CancelPendingRead();