13 references to Features
Microsoft.AspNetCore.SignalR (1)
GetHttpContextExtensions.cs (1)
33return connection.Features.Get<IHttpContextFeature>()?.HttpContext;
Microsoft.AspNetCore.SignalR.Core (8)
HubConnectionContext.cs (5)
677var transferFormatFeature = Features.Get<ITransferFormatFeature>(); 692var user = Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal(); 696if (Features.Get<IConnectionInherentKeepAliveFeature>()?.HasInherentKeepAlive != true) 699Features.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).KeepAliveTick(), this); 816Features.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).CheckClientTimeout(), this);
HubConnectionHandler.cs (1)
325var connectionUserFeature = connection.Features.Get<IConnectionUserFeature>();
Internal\DefaultHubCallerContext.cs (1)
36public override IFeatureCollection Features => _connection.Features;
Internal\DefaultHubDispatcher.cs (1)
957ConnectionEndpointTags.AddConnectionEndpointTags(ref tagList, connection.Features);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (4)
RedisHubLifetimeManager.cs (4)
96connection.Features.Set<IRedisFeature>(feature); 129var feature = connection.Features.GetRequiredFeature<IRedisFeature>(); 304var feature = connection.Features.GetRequiredFeature<IRedisFeature>(); 335var feature = connection.Features.GetRequiredFeature<IRedisFeature>();