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>();
25 references to HttpConnectionWaiter
System.Net.Http (25)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
411HttpConnectionWaiter<HttpConnection>? http11ConnectionWaiter = null; 412HttpConnectionWaiter<Http2Connection?>? http2ConnectionWaiter = null;
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; 307private void HandleHttp11ConnectionFailure(HttpConnectionWaiter<HttpConnection>? requestWaiter, Exception e) 339private 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; 271private void HandleHttp2ConnectionFailure(HttpConnectionWaiter<Http2Connection?> requestWaiter, Exception e) 295HttpConnectionWaiter<Http2Connection?>? waiter = null; 364private void ReturnHttp2Connection(Http2Connection connection, bool isNewConnection, HttpConnectionWaiter<Http2Connection?>? initialRequestWaiter = null) 390HttpConnectionWaiter<Http2Connection?>? waiter = null;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (6)
90if (!TryGetPooledHttp3Connection(request, out Http3Connection? connection, out HttpConnectionWaiter<Http3Connection?>? http3ConnectionWaiter)) 130private bool TryGetPooledHttp3Connection(HttpRequestMessage request, [NotNullWhen(true)] out Http3Connection? connection, [NotNullWhen(false)] out HttpConnectionWaiter<Http3Connection?>? waiter) 254HttpConnectionWaiter<Http3Connection?> waiter = queueItem.Waiter; 325private void HandleHttp3ConnectionFailure(HttpConnectionWaiter<Http3Connection?> requestWaiter, Exception? e) 356private void ReturnHttp3Connection(Http3Connection connection, bool isNewConnection, HttpConnectionWaiter<Http3Connection?>? initialRequestWaiter = null) 385HttpConnectionWaiter<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)