10 references to HttpUtilities
System.Net.Http (10)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
253
if (_proxyUri != null &&
HttpUtilities
.IsSupportedSecureScheme(_proxyUri.Scheme))
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (5)
268
if (
HttpUtilities
.IsSupportedSecureScheme(uri.Scheme))
286
Debug.Assert(
HttpUtilities
.IsSupportedProxyScheme(proxyUri.Scheme));
287
if (
HttpUtilities
.IsSocksScheme(proxyUri.Scheme))
301
if (
HttpUtilities
.IsNonSecureWebSocketScheme(uri.Scheme))
410
if (proxyUri != null && !
HttpUtilities
.IsSupportedProxyScheme(proxyUri.Scheme))
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
292
return
HttpUtilities
.IsSupportedNonSecureScheme(uri.Scheme) ? _httpProxyUri : _httpsProxyUri;
System\Net\Http\SocketsHttpHandler\RedirectHandler.cs (2)
132
if (
HttpUtilities
.IsSupportedSecureScheme(requestUri.Scheme) && !
HttpUtilities
.IsSupportedSecureScheme(location.Scheme))
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
678
if (!
HttpUtilities
.IsSupportedScheme(requestUri.Scheme))