21 references to IdnHost
Microsoft.AspNetCore.Cors (2)
Infrastructure\CorsPolicyBuilder.cs (2)
73
!string.Equals(uri.
IdnHost
, uri.Host, StringComparison.Ordinal))
75
var builder = new UriBuilder(uri.Scheme.ToLowerInvariant(), uri.
IdnHost
.ToLowerInvariant());
System.Net.Http (18)
System\Net\Http\HttpTelemetry.cs (1)
59
request.RequestUri.
IdnHost
,
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.NtAuth.cs (2)
140
hostName = authUri.
IdnHost
;
144
IPHostEntry result = await Dns.GetHostEntryAsync(authUri.
IdnHost
, cancellationToken).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (4)
85
_originAuthority = new HttpAuthority(host ?? proxyUri!.
IdnHost
, port);
255
_sslOptionsProxy = ConstructSslOptions(poolManager, _proxyUri.
IdnHost
);
594
stream = await ConnectToTcpHostAsync(_proxyUri!.
IdnHost
, _proxyUri.Port, request, async, cancellationToken).ConfigureAwait(false);
815
Stream stream = await ConnectToTcpHostAsync(_proxyUri.
IdnHost
, _proxyUri.Port, request, async, cancellationToken).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (2)
30
IdnHost = $"[{uri.
IdnHost
}]";
37
HostValue = IdnHost = uri.
IdnHost
;
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
402
string host = requestUri.HostNameType == UriHostNameType.IPv6 ? requestUri.Host : requestUri.
IdnHost
;
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (8)
264
return new HttpConnectionKey(HttpConnectionKind.ProxyConnect, uri.
IdnHost
, uri.Port, null, proxyUri, GetIdentityIfDefaultCredentialsUsed(_settings._defaultCredentialsUsedForProxy));
278
sslHostName = uri.
IdnHost
;
292
return new HttpConnectionKey(HttpConnectionKind.SslSocksTunnel, uri.
IdnHost
, uri.Port, sslHostName, proxyUri, identity);
296
return new HttpConnectionKey(HttpConnectionKind.SocksTunnel, uri.
IdnHost
, uri.Port, null, proxyUri, identity);
304
return new HttpConnectionKey(HttpConnectionKind.ProxyTunnel, uri.
IdnHost
, uri.Port, null, proxyUri, identity);
317
return new HttpConnectionKey(HttpConnectionKind.SslProxyTunnel, uri.
IdnHost
, uri.Port, sslHostName, proxyUri, identity);
322
return new HttpConnectionKey(HttpConnectionKind.Https, uri.
IdnHost
, uri.Port, sslHostName, null, identity);
326
return new HttpConnectionKey(HttpConnectionKind.Http, uri.
IdnHost
, uri.Port, null, null, identity);
System.Private.Uri (1)
System\Uri.cs (1)
1155
return
IdnHost
;