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)
708var transferFormatFeature = Features.Get<ITransferFormatFeature>(); 723var user = Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal(); 727if (Features.Get<IConnectionInherentKeepAliveFeature>()?.HasInherentKeepAlive != true) 730Features.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).KeepAliveTick(), this); 847Features.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).CheckClientTimeout(), this);
HubConnectionHandler.cs (1)
331var connectionUserFeature = connection.Features.Get<IConnectionUserFeature>();
Internal\DefaultHubCallerContext.cs (1)
36public override IFeatureCollection Features => _connection.Features;
Internal\DefaultHubDispatcher.cs (1)
1007ConnectionEndpointTags.AddConnectionEndpointTags(ref tags, connection.Features);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (4)
Internal\RedisSubscriptionManager.cs (3)
21var feature = connection.Features.GetRequiredFeature<IRedisFeature>(); 72var groupNames = connection.Features.GetRequiredFeature<IRedisFeature>().Groups; 93var feature = connection.Features.GetRequiredFeature<IRedisFeature>();
RedisHubLifetimeManager.cs (1)
94connection.Features.Set<IRedisFeature>(feature);