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