1 write to _connectionContext
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
85_connectionContext = connectionContext;
16 references to _connectionContext
Microsoft.AspNetCore.SignalR.Core (16)
HubConnectionContext.cs (16)
139public virtual string ConnectionId => _connectionContext.ConnectionId; 161public virtual IFeatureCollection Features => _connectionContext.Features; 166public virtual IDictionary<object, object?> Items => _connectionContext.Items; 172internal PipeReader Input => _connectionContext.Transport.Input; 190_connectionContext.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal()); 375Protocol.WriteMessage(message, _connectionContext.Transport.Output); 377return _connectionContext.Transport.Output.FlushAsync(cancellationToken); 415return _connectionContext.Transport.Output.WriteAsync(buffer, cancellationToken); 532await _connectionContext.Transport.Output.WriteAsync(_cachedPingMessage); 556_connectionContext.Transport.Output.Write(HandshakeProtocol.GetSuccessfulHandshake(Protocol)); 560HandshakeProtocol.WriteResponseMessage(message, _connectionContext.Transport.Output); 563await _connectionContext.Transport.Output.FlushAsync(); 577if (_useStatefulReconnect && _connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 592_connectionContext.Transport.Output.CancelPendingFlush(); 703if (_connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 713_messageBuffer = new MessageBuffer(_connectionContext, Protocol, _statefulReconnectBufferSize, _logger, _timeProvider);