11 references to Features
Microsoft.AspNetCore.SignalR (1)
GetHttpContextExtensions.cs (1)
33
return connection.
Features
.Get<IHttpContextFeature>()?.HttpContext;
Microsoft.AspNetCore.SignalR.Core (6)
HubConnectionContext.cs (5)
139
_user =
Features
.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal();
563
var transferFormatFeature =
Features
.Get<ITransferFormatFeature>();
581
if (
Features
.Get<IConnectionInherentKeepAliveFeature>()?.HasInherentKeepAlive != true)
584
Features
.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).KeepAliveTick(), this);
701
Features
.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).CheckClientTimeout(), this);
Internal\DefaultHubCallerContext.cs (1)
34
public override IFeatureCollection Features => _connection.
Features
;
Microsoft.AspNetCore.SignalR.StackExchangeRedis (4)
RedisHubLifetimeManager.cs (4)
96
connection.
Features
.Set<IRedisFeature>(feature);
129
var feature = connection.
Features
.GetRequiredFeature<IRedisFeature>();
304
var feature = connection.
Features
.GetRequiredFeature<IRedisFeature>();
335
var feature = connection.
Features
.GetRequiredFeature<IRedisFeature>();