2 instantiations of HttpConnectionWaiter
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (1)
61
waiter = new
HttpConnectionWaiter
<HttpConnection>();
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (1)
116
var waiter = new
HttpConnectionWaiter
<T>();
25 references to HttpConnectionWaiter
System.Net.Http (25)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
411
HttpConnectionWaiter
<HttpConnection>? http11ConnectionWaiter = null;
412
HttpConnectionWaiter
<Http2Connection?>? http2ConnectionWaiter = null;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (5)
35
private bool TryGetPooledHttp11Connection(HttpRequestMessage request, bool async, [NotNullWhen(true)] out HttpConnection? connection, [NotNullWhen(false)] out
HttpConnectionWaiter
<HttpConnection>? waiter)
98
HttpConnectionWaiter
<HttpConnection>? waiter = null;
258
HttpConnectionWaiter
<HttpConnection> waiter = queueItem.Waiter;
307
private void HandleHttp11ConnectionFailure(
HttpConnectionWaiter
<HttpConnection>? requestWaiter, Exception e)
339
private void AddNewHttp11Connection(HttpConnection connection,
HttpConnectionWaiter
<HttpConnection>? initialRequestWaiter)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (6)
64
private bool TryGetPooledHttp2Connection(HttpRequestMessage request, [NotNullWhen(true)] out Http2Connection? connection, out
HttpConnectionWaiter
<Http2Connection?>? waiter)
182
HttpConnectionWaiter
<Http2Connection?> waiter = queueItem.Waiter;
271
private void HandleHttp2ConnectionFailure(
HttpConnectionWaiter
<Http2Connection?> requestWaiter, Exception e)
295
HttpConnectionWaiter
<Http2Connection?>? waiter = null;
364
private void ReturnHttp2Connection(Http2Connection connection, bool isNewConnection,
HttpConnectionWaiter
<Http2Connection?>? initialRequestWaiter = null)
390
HttpConnectionWaiter
<Http2Connection?>? waiter = null;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (6)
90
if (!TryGetPooledHttp3Connection(request, out Http3Connection? connection, out
HttpConnectionWaiter
<Http3Connection?>? http3ConnectionWaiter))
130
private bool TryGetPooledHttp3Connection(HttpRequestMessage request, [NotNullWhen(true)] out Http3Connection? connection, [NotNullWhen(false)] out
HttpConnectionWaiter
<Http3Connection?>? waiter)
254
HttpConnectionWaiter
<Http3Connection?> waiter = queueItem.Waiter;
325
private void HandleHttp3ConnectionFailure(
HttpConnectionWaiter
<Http3Connection?> requestWaiter, Exception? e)
356
private void ReturnHttp3Connection(Http3Connection connection, bool isNewConnection,
HttpConnectionWaiter
<Http3Connection?>? initialRequestWaiter = null)
385
HttpConnectionWaiter
<Http3Connection?>? waiter = null;
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (6)
15
public
HttpConnectionWaiter
<T> Waiter;
114
public
HttpConnectionWaiter
<T> EnqueueRequest(HttpRequestMessage request)
116
var
waiter = new HttpConnectionWaiter<T>();
122
public void EnqueueRequest(HttpRequestMessage request,
HttpConnectionWaiter
<T> waiter)
142
public bool TryDequeueWaiter(HttpConnectionPool pool, [MaybeNullWhen(false)] out
HttpConnectionWaiter
<T> waiter)
156
public void TryDequeueSpecificWaiter(
HttpConnectionWaiter
<T> waiter)