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)
693var transferFormatFeature = Features.Get<ITransferFormatFeature>(); 708var user = Features.Get<IConnectionUserFeature>()?.User ?? new ClaimsPrincipal(); 712if (Features.Get<IConnectionInherentKeepAliveFeature>()?.HasInherentKeepAlive != true) 715Features.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).KeepAliveTick(), this); 832Features.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).CheckClientTimeout(), this);
HubConnectionHandler.cs (1)
328var connectionUserFeature = connection.Features.Get<IConnectionUserFeature>();
Internal\DefaultHubCallerContext.cs (1)
36public override IFeatureCollection Features => _connection.Features;
Internal\DefaultHubDispatcher.cs (1)
990ConnectionEndpointTags.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>();