1 instantiation of Http3Connection
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
265connection = new Http3Connection(this, authority, includeAltUsedHeader: _http3Authority == authority);
25 references to Http3Connection
System.Net.Http (25)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
250_http3RequestQueue = new RequestQueue<Http3Connection?>();
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (19)
34private List<Http3Connection>? _availableHttp3Connections; 40private RequestQueue<Http3Connection?> _http3RequestQueue; 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) 233RequestQueue<Http3Connection?>.QueueItem queueItem = _http3RequestQueue.PeekNextRequestForConnectionAttempt(); 241private async Task InjectNewHttp3ConnectionAsync(RequestQueue<Http3Connection?>.QueueItem queueItem) 251Http3Connection? connection = null; 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; 425_availableHttp3Connections ??= new List<Http3Connection>(); 480private void DisableHttp3Connection(Http3Connection connection) 488async Task DisableHttp3ConnectionAsync(Http3Connection connection) 523public void InvalidateHttp3Connection(Http3Connection connection) 559private static int ScavengeHttp3ConnectionList(List<Http3Connection> list, ref List<HttpConnectionBase>? toDispose, long nowTicks, TimeSpan pooledConnectionLifetime, TimeSpan pooledConnectionIdleTimeout)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
106/// Starts shutting down the <see cref="Http3Connection"/>. Final cleanup will happen when there are no more active requests.
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (2)
26private Http3Connection _connection; 68public Http3RequestStream(HttpRequestMessage request, Http3Connection connection, QuicStream stream)
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (1)
45Debug.Assert(this is HttpConnection or Http2Connection or Http3Connection);
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
153internal byte[] Http3SettingsFrame => _http3SettingsFrame ??= Http3Connection.BuildSettingsFrame(this);