5 implementations of ConnectionClosedRequested
Microsoft.AspNetCore.Http (1)
Features\DefaultConnectionLifetimeNotificationFeature.cs (1)
25public CancellationToken ConnectionClosedRequested { get; set; }
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
225public CancellationToken ConnectionClosedRequested { get; set; }
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
658CancellationToken IConnectionLifetimeNotificationFeature.ConnectionClosedRequested { get; set; }
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
516CancellationToken IConnectionLifetimeNotificationFeature.ConnectionClosedRequested { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelConnection.cs (1)
41public CancellationToken ConnectionClosedRequested { get; set; }
2 references to ConnectionClosedRequested
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\HttpConnection.cs (1)
114using var shutdownRegistration = connectionLifetimeNotificationFeature?.ConnectionClosedRequested.Register(state => ((HttpConnection)state!).StopProcessingNextRequest(ConnectionEndReason.GracefulAppShutdown), this);
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
93_closedRequestedRegistration = lifetimeNotification.ConnectionClosedRequested.Register(static (state) => ((HubConnectionContext)state!).AbortAllowReconnect(), this);