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