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)
675var authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port);
21 references to HttpAuthority
System.Net.Http (21)
System\Net\Http\SocketsHttpHandler\ConnectionPool\ConnectionSetupDistributedTracing.cs (2)
15public static Activity? StartConnectionSetupActivity(bool isSecure, HttpAuthority authority) 72public static Activity? StartWaitForConnectionActivity(HttpAuthority authority)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
41private readonly HttpAuthority _originAuthority; 297public HttpAuthority OriginAuthority => _originAuthority;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (11)
46private volatile HttpAuthority? _http3Authority; 58private volatile Dictionary<HttpAuthority, Exception?>? _altSvcBlocklist; 78if (!TryGetHttp3Authority(request, out HttpAuthority? authority, out Exception? reasonException)) 253HttpAuthority? authority = null; 609private bool TryGetHttp3Authority(HttpRequestMessage request, [NotNullWhen(true)] out HttpAuthority? authority, out Exception? reasonException) 649HttpAuthority? nextAuthority = null; 675var authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port); 770private bool IsAltSvcBlocked(HttpAuthority authority, out Exception? reasonException) 796internal void BlocklistAuthority(HttpAuthority badAuthority, Exception? exception = null) 800Dictionary<HttpAuthority, Exception?>? altSvcBlocklist = _altSvcBlocklist; 815altSvcBlocklist = new Dictionary<HttpAuthority, Exception?>();
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (3)
22private readonly HttpAuthority _authority; 49public HttpAuthority Authority => _authority; 71public Http3Connection(HttpConnectionPool pool, HttpAuthority authority, 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);