2 instantiations of HttpAuthority
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
85_originAuthority = new HttpAuthority(host ?? proxyUri!.IdnHost, port);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
241var authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port);
18 references to HttpAuthority
System.Net.Http (18)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
41private readonly HttpAuthority _originAuthority; 293public HttpAuthority OriginAuthority => _originAuthority;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (10)
37private volatile HttpAuthority? _http3Authority; 49private volatile Dictionary<HttpAuthority, Exception?>? _altSvcBlocklist; 62HttpAuthority? authority = _http3Authority; 106private async ValueTask<Http3Connection> GetHttp3ConnectionAsync(HttpRequestMessage request, HttpAuthority authority, CancellationToken cancellationToken) 215HttpAuthority? nextAuthority = null; 241var authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port); 331private bool IsAltSvcBlocked(HttpAuthority authority, out Exception? reasonException) 357internal void BlocklistAuthority(HttpAuthority badAuthority, Exception? exception = null) 361Dictionary<HttpAuthority, Exception?>? altSvcBlocklist = _altSvcBlocklist; 376altSvcBlocklist = new Dictionary<HttpAuthority, Exception?>();
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (3)
23private readonly HttpAuthority _authority; 50public HttpAuthority Authority => _authority; 69public Http3Connection(HttpConnectionPool pool, HttpAuthority authority, QuicConnection connection, bool includeAltUsedHeader)
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (3)
10internal sealed class HttpAuthority : IEquatable<HttpAuthority> 42public bool Equals([NotNullWhen(true)] HttpAuthority? other) 49return obj is HttpAuthority other && Equals(other);