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)
241
var authority = new
HttpAuthority
(value.Host ?? _originAuthority.IdnHost, value.Port);
18 references to HttpAuthority
System.Net.Http (18)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
41
private readonly
HttpAuthority
_originAuthority;
293
public
HttpAuthority
OriginAuthority => _originAuthority;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (10)
37
private volatile
HttpAuthority
? _http3Authority;
49
private volatile Dictionary<
HttpAuthority
, Exception?>? _altSvcBlocklist;
62
HttpAuthority
? authority = _http3Authority;
106
private async ValueTask<Http3Connection> GetHttp3ConnectionAsync(HttpRequestMessage request,
HttpAuthority
authority, CancellationToken cancellationToken)
215
HttpAuthority
? nextAuthority = null;
241
var
authority = new HttpAuthority(value.Host ?? _originAuthority.IdnHost, value.Port);
331
private bool IsAltSvcBlocked(
HttpAuthority
authority, out Exception? reasonException)
357
internal void BlocklistAuthority(
HttpAuthority
badAuthority, Exception? exception = null)
361
Dictionary<
HttpAuthority
, Exception?>? altSvcBlocklist = _altSvcBlocklist;
376
altSvcBlocklist = new Dictionary<
HttpAuthority
, Exception?>();
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (3)
23
private readonly
HttpAuthority
_authority;
50
public
HttpAuthority
Authority => _authority;
69
public Http3Connection(HttpConnectionPool pool,
HttpAuthority
authority, QuicConnection connection, 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);