3 instantiations of MultiProxy
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\MultiProxy.cs (3)
41
public static MultiProxy Empty => new
MultiProxy
(null, Array.Empty<Uri>());
69
return new
MultiProxy
(failedProxyCache, uris);
83
new
MultiProxy
(failedProxyCache, proxyConfig, secure) :
8 references to MultiProxy
System.Net.Http (8)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (2)
390
MultiProxy
multiProxy = multiWebProxy.GetMultiProxy(request.RequestUri);
427
private async ValueTask<HttpResponseMessage> SendAsyncMultiProxy(HttpRequestMessage request, bool async, bool doRequestAuth,
MultiProxy
multiProxy, Uri? firstProxy, CancellationToken cancellationToken)
System\Net\Http\SocketsHttpHandler\IMultiWebProxy.cs (1)
14
public
MultiProxy
GetMultiProxy(Uri uri);
System\Net\Http\SocketsHttpHandler\MultiProxy.cs (5)
41
public static
MultiProxy
Empty => new MultiProxy(null, Array.Empty<Uri>());
49
public static
MultiProxy
ParseManualSettings(FailedProxyCache failedProxyCache, string? proxyConfig, bool secure)
78
public static
MultiProxy
CreateLazy(FailedProxyCache failedProxyCache, string proxyConfig, bool secure)
84
MultiProxy
.Empty;
155
Debug.Assert(_uris != null || _proxyConfig != null, $"{nameof(ReadNext)} must not be called on a default-initialized {nameof(
MultiProxy
)}.");