1 write to _connectionContext
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
86_connectionContext = connectionContext;
16 references to _connectionContext
Microsoft.AspNetCore.SignalR.Core (16)
HubConnectionContext.cs (16)
140public virtual string ConnectionId => _connectionContext.ConnectionId; 162public virtual IFeatureCollection Features => _connectionContext.Features; 167public virtual IDictionary<object, object?> Items => _connectionContext.Items; 173internal PipeReader Input => _connectionContext.Transport.Input; 191_connectionContext.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal()); 371Protocol.WriteMessage(message, _connectionContext.Transport.Output); 373return _connectionContext.Transport.Output.FlushAsync(cancellationToken); 411return _connectionContext.Transport.Output.WriteAsync(buffer, cancellationToken); 528await _connectionContext.Transport.Output.WriteAsync(_cachedPingMessage); 552_connectionContext.Transport.Output.Write(HandshakeProtocol.GetSuccessfulHandshake(Protocol)); 556HandshakeProtocol.WriteResponseMessage(message, _connectionContext.Transport.Output); 559await _connectionContext.Transport.Output.FlushAsync(); 573if (_useStatefulReconnect && _connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 588_connectionContext.Transport.Output.CancelPendingFlush(); 699if (_connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 709_messageBuffer = new MessageBuffer(_connectionContext, Protocol, _statefulReconnectBufferSize, _logger, _timeProvider);