1 interface inheriting from IWebProxy
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\IMultiWebProxy.cs (1)
9internal interface IMultiWebProxy : IWebProxy
7 implementations of IWebProxy
NuGet.Configuration (1)
Proxy\WebProxy.cs (1)
16public class WebProxy : IWebProxy
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
90internal sealed partial class HttpEnvironmentProxy : IWebProxy
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Unix.cs (1)
8internal sealed partial class HttpEnvironmentProxy : IWebProxy
System\Net\Http\SocketsHttpHandler\HttpNoProxy.cs (1)
6internal sealed class HttpNoProxy : IWebProxy
System.Net.Requests (1)
System\Net\GlobalProxySelection.cs (1)
21private sealed class EmptyWebProxy : IWebProxy
System.Net.WebProxy (2)
System\Net\WebProxy.cs (1)
23public partial class WebProxy : IWebProxy, ISerializable
System\Net\WebProxy.Wasm.cs (1)
8public partial class WebProxy : IWebProxy, ISerializable
75 references to IWebProxy
dotnet-svcutil-lib (3)
FrameworkFork\Microsoft.Xml\Xml\XmlUrlResolver.cs (2)
21private IWebProxy _proxy; 35public IWebProxy Proxy
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceModelHttpMessageHandler.cs (1)
40public IWebProxy Proxy
netstandard (1)
netstandard.cs (1)
1161[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.IWebProxy))]
NuGet.Configuration (4)
Credential\ICredentialService.cs (1)
31IWebProxy? proxy,
Proxy\IProxyCache.cs (1)
11IWebProxy? GetProxy(Uri uri);
Proxy\ProxyCache.cs (1)
49public IWebProxy? GetProxy(Uri sourceUri)
Proxy\WebProxy.cs (1)
13/// Internal implementation of <see cref="IWebProxy"/> mirroring default desktop one.
NuGet.Credentials (6)
CredentialService.cs (1)
77IWebProxy? proxy,
DefaultNetworkCredentialsCredentialProvider.cs (1)
43IWebProxy proxy,
ICredentialProvider.cs (1)
37IWebProxy proxy,
PluginCredentialProvider.cs (1)
93IWebProxy proxy,
SecurePluginCredentialProvider.cs (2)
85public async Task<CredentialResponse> GetAsync(Uri uri, IWebProxy proxy, CredentialRequestType type, string message, bool isRetry, bool nonInteractive, CancellationToken cancellationToken) 178private async Task SetProxyCredentialsToPlugin(Uri uri, IWebProxy proxy, PluginCreationResult plugin, CancellationToken cancellationToken)
NuGet.Protocol (6)
HttpSource\HttpHandlerResourceV3Provider.cs (1)
60var proxy = _proxyCache.GetProxy(sourceUri);
HttpSource\HttpSourceAuthenticationHandler.cs (1)
277var proxy = proxyCache?.GetProxy(_packageSource.SourceUri);
HttpSource\ProxyAuthenticationHandler.cs (2)
148private async Task<bool> AcquireCredentialsAsync(Uri requestUri, Guid cacheVersion, IWebProxy proxy, ICredentialService credentialService, ILogger log, CancellationToken cancellationToken) 199private static async Task<NetworkCredential?> PromptForProxyCredentialsAsync(Uri proxyAddress, IWebProxy proxy, ICredentialService credentialService, ILogger log, CancellationToken cancellationToken)
Plugins\RequestHandlers\GetCredentialsRequestHandler.cs (2)
28private readonly IWebProxy _proxy; 46IWebProxy proxy,
PresentationCore (5)
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
289internal IWebProxy Proxy 846private IWebProxy _proxy;
MS\Internal\IO\Packaging\PseudoWebRequest.cs (2)
243public override IWebProxy Proxy 375private IWebProxy _proxy;
System\IO\Packaging\PackWebRequest.cs (1)
356public override IWebProxy Proxy
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
646[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.IWebProxy))]
System.Net.Http (18)
System\Net\Http\DiagnosticsHandler.cs (2)
24private readonly IWebProxy? _proxy; 26public DiagnosticsHandler(HttpMessageHandler innerHandler, DistributedContextPropagator propagator, IWebProxy? proxy, bool autoRedirect = false)
System\Net\Http\DiagnosticsHelper.cs (1)
42public static string GetServerAddress(HttpRequestMessage request, IWebProxy? proxy)
System\Net\Http\HttpClient.cs (2)
18private static IWebProxy? s_defaultProxy; 39public static IWebProxy DefaultProxy
System\Net\Http\HttpClientHandler.cs (1)
158public IWebProxy? Proxy
System\Net\Http\Metrics\MetricsHandler.cs (2)
18private readonly IWebProxy? _proxy; 20public MetricsHandler(HttpMessageHandler innerHandler, IMeterFactory? meterFactory, IWebProxy? proxy, out Meter meter)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (1)
44private readonly IWebProxy? _proxy;
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
26internal IWebProxy? _proxy;
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Unix.cs (1)
15public static bool TryCreate([NotNullWhen(true)] out IWebProxy? proxy)
System\Net\Http\SocketsHttpHandler\IMultiWebProxy.cs (1)
7/// An <see cref="IWebProxy"/> capable of returning more than one proxy for a single <see cref="Uri"/>.
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
88public IWebProxy? Proxy
System\Net\Http\SocketsHttpHandler\SystemProxyInfo.cs (3)
8public static IWebProxy Proxy => s_proxy.Value; 10private static readonly Lazy<IWebProxy> s_proxy = new Lazy<IWebProxy>(ConstructSystemProxy);
System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Unix.cs (2)
11public static IWebProxy ConstructSystemProxy() 13return HttpEnvironmentProxy.TryCreate(out IWebProxy? proxy) ? proxy : new HttpNoProxy();
System.Net.Http.WinHttpHandler (3)
System\Net\Http\WinHttpHandler.cs (2)
80private IWebProxy? _proxy; 368public IWebProxy? Proxy
System\Net\Http\WinHttpRequestState.cs (1)
139public IWebProxy? Proxy { get; set; }
System.Net.Requests (15)
System\Net\FileWebRequest.cs (1)
94public override IWebProxy? Proxy { get; set; }
System\Net\FtpWebRequest.cs (1)
440public override IWebProxy? Proxy
System\Net\GlobalProxySelection.cs (2)
13public static IWebProxy Select 19public static IWebProxy GetEmptyWebProxy() => new EmptyWebProxy();
System\Net\HttpWebRequest.cs (3)
46private IWebProxy? _proxy = WebRequest.DefaultWebProxy; 123public readonly IWebProxy? Proxy; 978public override IWebProxy? Proxy
System\Net\ServicePoint\ServicePointManager.cs (3)
105public static ServicePoint FindServicePoint(string uriString, IWebProxy? proxy) => FindServicePoint(new Uri(uriString), proxy); 107public static ServicePoint FindServicePoint(Uri address, IWebProxy? proxy) 170private static bool ProxyAddressIfNecessary(ref Uri address, IWebProxy? proxy)
System\Net\WebRequest.cs (5)
545private static IWebProxy? s_DefaultWebProxy; 548public static IWebProxy GetSystemWebProxy() => HttpClient.DefaultProxy; 550public static IWebProxy? DefaultWebProxy 552get => LazyInitializer.EnsureInitialized<IWebProxy>(ref s_DefaultWebProxy, ref s_DefaultWebProxyInitialized, ref s_internalSyncObject, GetSystemWebProxy); 575public virtual IWebProxy? Proxy
System.Net.WebClient (2)
System\Net\WebClient.cs (2)
39private IWebProxy? _proxy; 204public IWebProxy? Proxy
System.Net.WebProxy (1)
System\Net\WebProxy.cs (1)
21/// The <see cref="WebProxy"/> class is the base implementation of the <see cref="IWebProxy"/> interface.
System.Net.WebSockets.Client (1)
System\Net\WebSockets\BrowserWebSockets\ClientWebSocketOptions.cs (1)
57public System.Net.IWebProxy Proxy
System.Private.Xml (5)
System\Xml\XmlDownloadManager.cs (3)
13internal static Stream GetStream(Uri uri, ICredentials? credentials, IWebProxy? proxy) 27internal static Task<Stream> GetStreamAsync(Uri uri, ICredentials? credentials, IWebProxy? proxy) 40private static async Task<Stream> GetNonFileStreamAsync(Uri uri, ICredentials? credentials, IWebProxy? proxy)
System\Xml\XmlUrlResolver.cs (2)
17private IWebProxy? _proxy; 28public IWebProxy? Proxy
System.ServiceModel.Http (4)
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
154internal IWebProxy Proxy { get; set; } 1383public async Task<IWebProxy> CreateWebProxyAsync(AuthenticationLevel requestAuthenticationLevel, TokenImpersonationLevel requestImpersonationLevel, SecurityTokenProviderContainer tokenProvider, TimeSpan timeout)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
157public IWebProxy Proxy { get; set; }
System\ServiceModel\Channels\HttpTransportDefaults.cs (1)
17internal const IWebProxy Proxy = null;