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)
140
public virtual string ConnectionId =>
_connectionContext
.ConnectionId;
162
public virtual IFeatureCollection Features =>
_connectionContext
.Features;
167
public virtual IDictionary<object, object?> Items =>
_connectionContext
.Items;
173
internal PipeReader Input =>
_connectionContext
.Transport.Input;
191
_connectionContext
.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal());
371
Protocol.WriteMessage(message,
_connectionContext
.Transport.Output);
373
return
_connectionContext
.Transport.Output.FlushAsync(cancellationToken);
411
return
_connectionContext
.Transport.Output.WriteAsync(buffer, cancellationToken);
528
await
_connectionContext
.Transport.Output.WriteAsync(_cachedPingMessage);
552
_connectionContext
.Transport.Output.Write(HandshakeProtocol.GetSuccessfulHandshake(Protocol));
556
HandshakeProtocol.WriteResponseMessage(message,
_connectionContext
.Transport.Output);
559
await
_connectionContext
.Transport.Output.FlushAsync();
573
if (_useStatefulReconnect &&
_connectionContext
.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
588
_connectionContext
.Transport.Output.CancelPendingFlush();
699
if (
_connectionContext
.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
709
_messageBuffer = new MessageBuffer(
_connectionContext
, Protocol, _statefulReconnectBufferSize, _logger, _timeProvider);