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