24 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 (21)
System\Net\Http\DiagnosticsHelper.cs (1)
50return request.RequestUri.IdnHost;
System\Net\Http\HttpTelemetry.cs (1)
54request.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)
87_originAuthority = new HttpAuthority(host ?? proxyUri!.IdnHost, port); 257_sslOptionsProxy = ConstructSslOptions(poolManager, _proxyUri.IdnHost); 583stream = await ConnectToTcpHostAsync(_proxyUri!.IdnHost, _proxyUri.Port, request, async, cancellationToken).ConfigureAwait(false); 804Stream 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 (10)
238return new HttpConnectionKey(HttpConnectionKind.ProxyConnect, uri.IdnHost, uri.Port, null, proxyUri, GetIdentityIfDefaultCredentialsUsed(_settings._defaultCredentialsUsedForProxy)); 252sslHostName = uri.IdnHost; 266return new HttpConnectionKey(HttpConnectionKind.SslSocksTunnel, uri.IdnHost, uri.Port, sslHostName, proxyUri, identity); 270return new HttpConnectionKey(HttpConnectionKind.SocksTunnel, uri.IdnHost, uri.Port, null, proxyUri, identity); 278return new HttpConnectionKey(HttpConnectionKind.ProxyTunnel, uri.IdnHost, uri.Port, null, proxyUri, identity); 291return new HttpConnectionKey(HttpConnectionKind.SslProxyTunnel, uri.IdnHost, uri.Port, sslHostName, proxyUri, identity); 296return new HttpConnectionKey(HttpConnectionKind.Https, uri.IdnHost, uri.Port, sslHostName, null, identity); 300return new HttpConnectionKey(HttpConnectionKind.Http, uri.IdnHost, uri.Port, null, null, identity); 322return key.ProxyUri.IdnHost; 326return hostHeader is null ? uri.IdnHost : HttpUtilities.ParseHostNameFromHeader(hostHeader);
System.Private.Uri (1)
System\Uri.cs (1)
1205return IdnHost;