3 instantiations of HttpAuthority
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
93? new HttpAuthority(host, port) 94: new HttpAuthority(proxyUri!.IdnHost, proxyUri.Port);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
685var authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port);
27 references to HttpAuthority
System.Net.Http (27)
System\Net\Http\SocketsHttpHandler\ConnectionPool\ConnectionSetupDistributedTracing.cs (1)
73public static Activity? StartWaitForConnectionActivity(HttpAuthority authority)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
42private readonly HttpAuthority _originAuthority; 295public HttpAuthority OriginAuthority => _originAuthority;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (11)
41private volatile HttpAuthority? _http3Authority; 53private volatile Dictionary<HttpAuthority, Exception?>? _altSvcBlocklist; 76if (!TryGetHttp3Authority(request, out HttpAuthority? authority, out Exception? reasonException)) 257HttpAuthority? authority = null; 611private bool TryGetHttp3Authority(HttpRequestMessage request, [NotNullWhen(true)] out HttpAuthority? authority, out Exception? reasonException) 651HttpAuthority? nextAuthority = null; 685var authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port); 783private bool IsAltSvcBlocked(HttpAuthority authority, out Exception? reasonException) 809internal void BlocklistAuthority(HttpAuthority badAuthority, Exception? exception = null) 813Dictionary<HttpAuthority, Exception?>? altSvcBlocklist = _altSvcBlocklist; 828altSvcBlocklist = new Dictionary<HttpAuthority, Exception?>();
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (5)
23private readonly HttpAuthority _authority; 50public HttpAuthority Authority => _authority; 72public Http3Connection(HttpConnectionPool pool, HttpAuthority authority, bool includeAltUsedHeader) 946private readonly HttpAuthority _authority; 950public WaitForHttp3ConnectionActivity(HttpConnectionSettings settings, HttpAuthority authority)
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (7)
10internal sealed class HttpAuthority : IEquatable<HttpAuthority> 52public bool Equals([NotNullWhen(true)] HttpAuthority? other) 59return obj is HttpAuthority other && Equals(other); 73public static bool operator ==(HttpAuthority? left, HttpAuthority? right) 77public static bool operator !=(HttpAuthority? left, HttpAuthority? right)
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (1)
90protected void MarkConnectionAsEstablished(Activity? connectionSetupActivity, IPEndPoint? remoteEndPoint, HttpAuthority authority, DnsEndPoint? connectedEndPoint = null)