2 instantiations of HttpConnection
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Middleware\HttpConnectionMiddleware.cs (1)
49var connection = new HttpConnection(httpConnectionContext);
Middleware\HttpMultiplexedConnectionMiddleware.cs (1)
53var connection = new HttpConnection(httpConnectionContext);
7 references to HttpConnection
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http2\Http2Connection.cs (1)
32/// Owned by <see cref="HttpConnection"/>.
Internal\HttpConnection.cs (4)
111connectionHeartbeatFeature?.OnHeartbeat(state => ((HttpConnection)state).Tick(), this); 114using var shutdownRegistration = connectionLifetimeNotificationFeature?.ConnectionClosedRequested.Register(state => ((HttpConnection)state!).StopProcessingNextRequest(ConnectionEndReason.GracefulAppShutdown), this); 117using var closedRegistration = _context.ConnectionContext.ConnectionClosed.Register(state => ((HttpConnection)state!).OnConnectionClosed(), this); 124Log.LogCritical(0, ex, $"Unexpected exception in {nameof(HttpConnection)}.{nameof(ProcessRequestsAsync)}.");
Middleware\HttpConnectionMiddleware.cs (1)
49var connection = new HttpConnection(httpConnectionContext);
Middleware\HttpMultiplexedConnectionMiddleware.cs (1)
53var connection = new HttpConnection(httpConnectionContext);