2 instantiations of HttpConnection
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Middleware\HttpConnectionMiddleware.cs (1)
49
var connection = new
HttpConnection
(httpConnectionContext);
Middleware\HttpMultiplexedConnectionMiddleware.cs (1)
53
var 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)
111
connectionHeartbeatFeature?.OnHeartbeat(state => ((
HttpConnection
)state).Tick(), this);
114
using var shutdownRegistration = connectionLifetimeNotificationFeature?.ConnectionClosedRequested.Register(state => ((
HttpConnection
)state!).StopProcessingNextRequest(ConnectionEndReason.GracefulAppShutdown), this);
117
using var closedRegistration = _context.ConnectionContext.ConnectionClosed.Register(state => ((
HttpConnection
)state!).OnConnectionClosed(), this);
124
Log.LogCritical(0, ex, $"Unexpected exception in {nameof(
HttpConnection
)}.{nameof(ProcessRequestsAsync)}.");
Middleware\HttpConnectionMiddleware.cs (1)
49
var
connection = new HttpConnection(httpConnectionContext);
Middleware\HttpMultiplexedConnectionMiddleware.cs (1)
53
var
connection = new HttpConnection(httpConnectionContext);