1 write to _connectionContext
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
87_connectionContext = connectionContext;
16 references to _connectionContext
Microsoft.AspNetCore.SignalR.Core (16)
HubConnectionContext.cs (16)
141public virtual string ConnectionId => _connectionContext.ConnectionId; 163public virtual IFeatureCollection Features => _connectionContext.Features; 168public virtual IDictionary<object, object?> Items => _connectionContext.Items; 174internal PipeReader Input => _connectionContext.Transport.Input; 192_connectionContext.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal()); 391Protocol.WriteMessage(message, _connectionContext.Transport.Output); 393return _connectionContext.Transport.Output.FlushAsync(cancellationToken); 431return _connectionContext.Transport.Output.WriteAsync(buffer, cancellationToken); 548await _connectionContext.Transport.Output.WriteAsync(_cachedPingMessage); 572_connectionContext.Transport.Output.Write(HandshakeProtocol.GetSuccessfulHandshake(Protocol)); 576HandshakeProtocol.WriteResponseMessage(message, _connectionContext.Transport.Output); 579await _connectionContext.Transport.Output.FlushAsync(); 593if (_useStatefulReconnect && _connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 608_connectionContext.Transport.Output.CancelPendingFlush(); 719if (_connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 729_messageBuffer = new MessageBuffer(_connectionContext, Protocol, _statefulReconnectBufferSize, _logger, _timeProvider);