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)
141
public virtual string ConnectionId =>
_connectionContext
.ConnectionId;
163
public virtual IFeatureCollection Features =>
_connectionContext
.Features;
168
public virtual IDictionary<object, object?> Items =>
_connectionContext
.Items;
174
internal PipeReader Input =>
_connectionContext
.Transport.Input;
192
_connectionContext
.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal());
391
Protocol.WriteMessage(message,
_connectionContext
.Transport.Output);
393
return
_connectionContext
.Transport.Output.FlushAsync(cancellationToken);
431
return
_connectionContext
.Transport.Output.WriteAsync(buffer, cancellationToken);
548
await
_connectionContext
.Transport.Output.WriteAsync(_cachedPingMessage);
572
_connectionContext
.Transport.Output.Write(HandshakeProtocol.GetSuccessfulHandshake(Protocol));
576
HandshakeProtocol.WriteResponseMessage(message,
_connectionContext
.Transport.Output);
579
await
_connectionContext
.Transport.Output.FlushAsync();
593
if (_useStatefulReconnect &&
_connectionContext
.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
608
_connectionContext
.Transport.Output.CancelPendingFlush();
719
if (
_connectionContext
.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
729
_messageBuffer = new MessageBuffer(
_connectionContext
, Protocol, _statefulReconnectBufferSize, _logger, _timeProvider);