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