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