1 instantiation of HttpEndPointListener
System.Net.HttpListener (1)
System\Net\Managed\HttpEndPointManager.cs (1)
157
epl = new
HttpEndPointListener
(listener, addr, port, secure);
17 references to HttpEndPointListener
System.Net.HttpListener (17)
System\Net\Managed\HttpConnection.cs (3)
51
private readonly
HttpEndPointListener
_epl;
74
public HttpConnection(Socket sock,
HttpEndPointListener
epl, bool secure, X509Certificate cert)
476
HttpEndPointListener
.UnbindContext(_context);
System\Net\Managed\HttpEndPointListener.cs (2)
141
HttpEndPointListener
epl = (
HttpEndPointListener
)e.UserToken!;
System\Net\Managed\HttpEndPointManager.cs (12)
40
private static readonly Dictionary<IPAddress, Dictionary<int,
HttpEndPointListener
>> s_ipEndPoints = new Dictionary<IPAddress, Dictionary<int,
HttpEndPointListener
>>();
106
HttpEndPointListener
epl = GetEPListener(lp.Host!, lp.Port, listener, lp.Secure);
110
private static
HttpEndPointListener
GetEPListener(string host, int port, HttpListener listener, bool secure)
137
Dictionary<int,
HttpEndPointListener
>? p;
138
if (s_ipEndPoints.TryGetValue(addr, out Dictionary<int,
HttpEndPointListener
>? value))
144
p = new Dictionary<int,
HttpEndPointListener
>();
148
HttpEndPointListener
? epl;
149
if (p.TryGetValue(port, out
HttpEndPointListener
? epListener))
169
public static void RemoveEndPoint(
HttpEndPointListener
epl, IPEndPoint ep)
173
Dictionary<int,
HttpEndPointListener
>? p = null;
212
HttpEndPointListener
epl = GetEPListener(lp.Host!, lp.Port, listener, lp.Secure);