1 type derived from KestrelConnection
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\KestrelConnectionOfT.cs (1)
11internal sealed class KestrelConnection<T> : KestrelConnection, IThreadPoolWorkItem where T : BaseConnectionContext
12 references to KestrelConnection
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Infrastructure\ConnectionManager.cs (5)
10private readonly Action<KestrelConnection> _walkCallback; 41private void WalkCallback(KestrelConnection connection) 61if (reference.TryGetConnection(out var connection)) 67public void Walk(Action<KestrelConnection> callback) 73if (reference.TryGetConnection(out var connection))
Internal\Infrastructure\ConnectionReference.cs (4)
11private readonly WeakReference<KestrelConnection> _weakReference; 14public ConnectionReference(long id, KestrelConnection connection, TransportConnectionManager transportConnectionManager) 18_weakReference = new WeakReference<KestrelConnection>(connection); 26public bool TryGetConnection([NotNullWhen(true)] out KestrelConnection? connection)
Internal\Infrastructure\TransportConnectionManager.cs (3)
23public void AddConnection(long id, KestrelConnection connection) 61if (kvp.Value.TryGetConnection(out var connection)) 78if (kvp.Value.TryGetConnection(out var connection))