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