1 write to _connectionContext
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
102_connectionContext = connectionContext;
16 references to _connectionContext
Microsoft.AspNetCore.SignalR.Core (16)
HubConnectionContext.cs (16)
156public virtual string ConnectionId => _connectionContext.ConnectionId; 178public virtual IFeatureCollection Features => _connectionContext.Features; 183public virtual IDictionary<object, object?> Items => _connectionContext.Items; 189internal PipeReader Input => _connectionContext.Transport.Input; 207_connectionContext.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal()); 406Protocol.WriteMessage(message, _connectionContext.Transport.Output); 408return _connectionContext.Transport.Output.FlushAsync(cancellationToken); 446return _connectionContext.Transport.Output.WriteAsync(buffer, cancellationToken); 563await _connectionContext.Transport.Output.WriteAsync(_cachedPingMessage); 587_connectionContext.Transport.Output.Write(HandshakeProtocol.GetSuccessfulHandshake(Protocol)); 591HandshakeProtocol.WriteResponseMessage(message, _connectionContext.Transport.Output); 594await _connectionContext.Transport.Output.FlushAsync(); 608if (_useStatefulReconnect && _connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 623_connectionContext.Transport.Output.CancelPendingFlush(); 734if (_connectionContext.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature) 744_messageBuffer = new MessageBuffer(_connectionContext, Protocol, _statefulReconnectBufferSize, _logger, _timeProvider);