2 instantiations of HttpAuthority
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
84
_originAuthority = new
HttpAuthority
(host ?? proxyUri!.IdnHost, port);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
692
var authority = new
HttpAuthority
(value.Host ?? _originAuthority.IdnHost, value.Port);
25 references to HttpAuthority
System.Net.Http (25)
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)
40
private readonly
HttpAuthority
_originAuthority;
282
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;
81
if (!TryGetHttp3Authority(request, out
HttpAuthority
? authority, out Exception? reasonException))
263
HttpAuthority
? authority = null;
618
private bool TryGetHttp3Authority(HttpRequestMessage request, [NotNullWhen(true)] out
HttpAuthority
? authority, out Exception? reasonException)
658
HttpAuthority
? nextAuthority = null;
692
var
authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port);
790
private bool IsAltSvcBlocked(
HttpAuthority
authority, out Exception? reasonException)
816
internal void BlocklistAuthority(
HttpAuthority
badAuthority, Exception? exception = null)
820
Dictionary<
HttpAuthority
, Exception?>? altSvcBlocklist = _altSvcBlocklist;
835
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 (7)
10
internal sealed class HttpAuthority : IEquatable<
HttpAuthority
>
42
public bool Equals([NotNullWhen(true)]
HttpAuthority
? other)
49
return obj is
HttpAuthority
other && Equals(other);
63
public static bool operator ==(
HttpAuthority
? left,
HttpAuthority
? right)
67
public static bool operator !=(
HttpAuthority
? left,
HttpAuthority
? right)