3 implementations of IConnectionHeartbeatFeature
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
28IConnectionHeartbeatFeature,
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelConnection.cs (1)
10internal abstract class KestrelConnection : IConnectionHeartbeatFeature, IConnectionCompleteFeature, IConnectionLifetimeNotificationFeature, IConnectionMetricsContextFeature
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
parent\parent\parent\common\testassets\Tests.Utils\TestClient.cs (1)
23class TestClient : ITransferFormatFeature, IConnectionHeartbeatFeature, IDisposable
11 references to IConnectionHeartbeatFeature
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
107Features.Set<IConnectionHeartbeatFeature>(this);
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\HttpConnection.cs (3)
100var connectionHeartbeatFeature = _context.ConnectionFeatures.Get<IConnectionHeartbeatFeature>(); 105Debug.Assert(connectionHeartbeatFeature != null, nameof(IConnectionHeartbeatFeature) + " is missing!");
Internal\Infrastructure\KestrelConnectionOfT.cs (1)
27connectionContext.Features.Set<IConnectionHeartbeatFeature>(this);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (3)
Internal\QuicConnectionContext.cs (3)
255var heartbeatFeature = Features.Get<IConnectionHeartbeatFeature>(); 258throw new InvalidOperationException($"Required {nameof(IConnectionHeartbeatFeature)} not found in connection features.");
Microsoft.AspNetCore.SignalR.Core (2)
HubConnectionContext.cs (2)
699Features.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).KeepAliveTick(), this); 816Features.Get<IConnectionHeartbeatFeature>()?.OnHeartbeat(state => ((HubConnectionContext)state).CheckClientTimeout(), this);
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
parent\parent\parent\common\testassets\Tests.Utils\TestClient.cs (1)
50Connection.Features.Set<IConnectionHeartbeatFeature>(this);