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>();
26 references to HttpConnectionWaiter
System.Net.Http (26)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (3)
411
HttpConnectionWaiter
<HttpConnection>? http11ConnectionWaiter = null;
412
HttpConnectionWaiter
<Http2Connection?>? http2ConnectionWaiter = null;
830
private CancellationTokenSource GetConnectTimeoutCancellationTokenSource<T>(
HttpConnectionWaiter
<T> waiter)
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;
306
private void HandleHttp11ConnectionFailure(
HttpConnectionWaiter
<HttpConnection>? requestWaiter, Exception e)
338
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;
270
private void HandleHttp2ConnectionFailure(
HttpConnectionWaiter
<Http2Connection?> requestWaiter, Exception e)
294
HttpConnectionWaiter
<Http2Connection?>? waiter = null;
363
private void ReturnHttp2Connection(Http2Connection connection, bool isNewConnection,
HttpConnectionWaiter
<Http2Connection?>? initialRequestWaiter = null)
389
HttpConnectionWaiter
<Http2Connection?>? waiter = null;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (6)
78
HttpConnectionWaiter
<Http3Connection?>? http3ConnectionWaiter = null;
138
private bool TryGetPooledHttp3Connection(HttpRequestMessage request, [NotNullWhen(true)] out Http3Connection? connection, [NotNullWhen(false)] out
HttpConnectionWaiter
<Http3Connection?>? waiter)
262
HttpConnectionWaiter
<Http3Connection?> waiter = queueItem.Waiter;
332
private void HandleHttp3ConnectionFailure(
HttpConnectionWaiter
<Http3Connection?> requestWaiter, Exception? e)
363
private void ReturnHttp3Connection(Http3Connection connection, bool isNewConnection,
HttpConnectionWaiter
<Http3Connection?>? initialRequestWaiter = null)
392
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)