2 instantiations of HttpConnectionWaiter
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (1)
61waiter = new HttpConnectionWaiter<HttpConnection>();
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (1)
116var waiter = new HttpConnectionWaiter<T>();
26 references to HttpConnectionWaiter
System.Net.Http (26)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (3)
411HttpConnectionWaiter<HttpConnection>? http11ConnectionWaiter = null; 412HttpConnectionWaiter<Http2Connection?>? http2ConnectionWaiter = null; 830private CancellationTokenSource GetConnectTimeoutCancellationTokenSource<T>(HttpConnectionWaiter<T> waiter)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (5)
35private bool TryGetPooledHttp11Connection(HttpRequestMessage request, bool async, [NotNullWhen(true)] out HttpConnection? connection, [NotNullWhen(false)] out HttpConnectionWaiter<HttpConnection>? waiter) 98HttpConnectionWaiter<HttpConnection>? waiter = null; 258HttpConnectionWaiter<HttpConnection> waiter = queueItem.Waiter; 306private void HandleHttp11ConnectionFailure(HttpConnectionWaiter<HttpConnection>? requestWaiter, Exception e) 338private void AddNewHttp11Connection(HttpConnection connection, HttpConnectionWaiter<HttpConnection>? initialRequestWaiter)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (6)
64private bool TryGetPooledHttp2Connection(HttpRequestMessage request, [NotNullWhen(true)] out Http2Connection? connection, out HttpConnectionWaiter<Http2Connection?>? waiter) 182HttpConnectionWaiter<Http2Connection?> waiter = queueItem.Waiter; 270private void HandleHttp2ConnectionFailure(HttpConnectionWaiter<Http2Connection?> requestWaiter, Exception e) 294HttpConnectionWaiter<Http2Connection?>? waiter = null; 363private void ReturnHttp2Connection(Http2Connection connection, bool isNewConnection, HttpConnectionWaiter<Http2Connection?>? initialRequestWaiter = null) 389HttpConnectionWaiter<Http2Connection?>? waiter = null;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (6)
78HttpConnectionWaiter<Http3Connection?>? http3ConnectionWaiter = null; 138private bool TryGetPooledHttp3Connection(HttpRequestMessage request, [NotNullWhen(true)] out Http3Connection? connection, [NotNullWhen(false)] out HttpConnectionWaiter<Http3Connection?>? waiter) 262HttpConnectionWaiter<Http3Connection?> waiter = queueItem.Waiter; 332private void HandleHttp3ConnectionFailure(HttpConnectionWaiter<Http3Connection?> requestWaiter, Exception? e) 363private void ReturnHttp3Connection(Http3Connection connection, bool isNewConnection, HttpConnectionWaiter<Http3Connection?>? initialRequestWaiter = null) 392HttpConnectionWaiter<Http3Connection?>? waiter = null;
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (6)
15public HttpConnectionWaiter<T> Waiter; 114public HttpConnectionWaiter<T> EnqueueRequest(HttpRequestMessage request) 116var waiter = new HttpConnectionWaiter<T>(); 122public void EnqueueRequest(HttpRequestMessage request, HttpConnectionWaiter<T> waiter) 142public bool TryDequeueWaiter(HttpConnectionPool pool, [MaybeNullWhen(false)] out HttpConnectionWaiter<T> waiter) 156public void TryDequeueSpecificWaiter(HttpConnectionWaiter<T> waiter)