1 instantiation of HttpConnection
System.Net.HttpListener (1)
System\Net\Managed\HttpEndPointListener.cs (1)
124
conn = new
HttpConnection
(accepted, this, _secure, _cert!);
21 references to HttpConnection
System.Net.HttpListener (21)
System\Net\Managed\HttpConnection.cs (2)
242
HttpConnection
? cnc = null;
245
cnc = (
HttpConnection
)ares.AsyncState!;
System\Net\Managed\HttpEndPointListener.cs (6)
45
private readonly HashSet<
HttpConnection
> _unregisteredConnections;
73
_unregisteredConnections = new HashSet<
HttpConnection
>();
121
HttpConnection
conn;
146
internal void RemoveConnection(
HttpConnection
conn)
312
var connections = new List<
HttpConnection
>(_unregisteredConnections);
314
foreach (
HttpConnection
c in connections)
System\Net\Managed\HttpListener.Managed.cs (9)
18
private readonly Dictionary<
HttpConnection
,
HttpConnection
> _connections = new Dictionary<
HttpConnection
,
HttpConnection
>();
172
internal void AddConnection(
HttpConnection
cnc)
180
internal void RemoveConnection(
HttpConnection
cnc)
230
Dictionary<
HttpConnection
,
HttpConnection
>.KeyCollection keys = _connections.Keys;
231
var conns = new
HttpConnection
[keys.Count];
System\Net\Managed\HttpListenerContext.Managed.cs (3)
15
private readonly
HttpConnection
_connection;
17
internal HttpListenerContext(
HttpConnection
connection)
31
internal
HttpConnection
Connection => _connection;
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
292
HttpConnection
cnc = _context.Connection;