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)
156
public virtual string ConnectionId =>
_connectionContext
.ConnectionId;
178
public virtual IFeatureCollection Features =>
_connectionContext
.Features;
183
public virtual IDictionary<object, object?> Items =>
_connectionContext
.Items;
189
internal PipeReader Input =>
_connectionContext
.Transport.Input;
207
_connectionContext
.Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal());
406
Protocol.WriteMessage(message,
_connectionContext
.Transport.Output);
408
return
_connectionContext
.Transport.Output.FlushAsync(cancellationToken);
446
return
_connectionContext
.Transport.Output.WriteAsync(buffer, cancellationToken);
563
await
_connectionContext
.Transport.Output.WriteAsync(_cachedPingMessage);
587
_connectionContext
.Transport.Output.Write(HandshakeProtocol.GetSuccessfulHandshake(Protocol));
591
HandshakeProtocol.WriteResponseMessage(message,
_connectionContext
.Transport.Output);
594
await
_connectionContext
.Transport.Output.FlushAsync();
608
if (_useStatefulReconnect &&
_connectionContext
.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
623
_connectionContext
.Transport.Output.CancelPendingFlush();
734
if (
_connectionContext
.Features.Get<IStatefulReconnectFeature>() is IStatefulReconnectFeature feature)
744
_messageBuffer = new MessageBuffer(
_connectionContext
, Protocol, _statefulReconnectBufferSize, _logger, _timeProvider);