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)
139
public virtual string ConnectionId =>
_connectionContext
.ConnectionId;
161
public virtual IFeatureCollection Features =>
_connectionContext
.Features;
166
public virtual IDictionary<object, object?> Items =>
_connectionContext
.Items;
172
internal PipeReader Input =>
_connectionContext
.Transport.Input;
190
_connectionContext
.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal());
375
Protocol.WriteMessage(message,
_connectionContext
.Transport.Output);
377
return
_connectionContext
.Transport.Output.FlushAsync(cancellationToken);
415
return
_connectionContext
.Transport.Output.WriteAsync(buffer, cancellationToken);
532
await
_connectionContext
.Transport.Output.WriteAsync(_cachedPingMessage);
556
_connectionContext
.Transport.Output.Write(HandshakeProtocol.GetSuccessfulHandshake(Protocol));
560
HandshakeProtocol.WriteResponseMessage(message,
_connectionContext
.Transport.Output);
563
await
_connectionContext
.Transport.Output.FlushAsync();
577
if (_useStatefulReconnect &&
_connectionContext
.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
592
_connectionContext
.Transport.Output.CancelPendingFlush();
703
if (
_connectionContext
.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
713
_messageBuffer = new MessageBuffer(
_connectionContext
, Protocol, _statefulReconnectBufferSize, _logger, _timeProvider);