1 interface inheriting from IWebProxy
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\IMultiWebProxy.cs (1)
9internal interface IMultiWebProxy : IWebProxy
7 implementations of IWebProxy
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
95internal 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)
16public partial class WebProxy : IWebProxy, ISerializable
System\Net\WebProxy.NonWasm.cs (1)
10public partial class WebProxy : IWebProxy, ISerializable
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
534internal sealed class DefaultWebProxy : IWebProxy
58 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
Microsoft.AspNetCore.Http.Connections.Client (3)
HttpConnectionOptions.cs (2)
28private IWebProxy? _proxy; 215public IWebProxy? Proxy
Internal\WebSocketsTransport.cs (1)
155var originalProxy = webSocket.Options.Proxy;
Microsoft.AspNetCore.SignalR.Client.Tests (6)
HttpConnectionFactoryTests.cs (1)
96{ $"{nameof(HttpConnectionOptions.Proxy)}", Mock.Of<IWebProxy>() },
HttpConnectionTests.cs (1)
98httpOptions.Proxy = Mock.Of<IWebProxy>();
HubConnectionBuilderExtensionsTests.cs (4)
62var proxy = Mock.Of<IWebProxy>(); 78var proxy = Mock.Of<IWebProxy>();
Microsoft.AspNetCore.SignalR.Tests (1)
WebSocketsTransportTests.cs (1)
38httpOptions.Proxy = Mock.Of<IWebProxy>();
netstandard (1)
netstandard.cs (1)
1161[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.IWebProxy))]
PresentationCore (5)
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
290internal IWebProxy Proxy 850private IWebProxy _proxy;
MS\Internal\IO\Packaging\PseudoWebRequest.cs (2)
244public override IWebProxy Proxy 376private IWebProxy _proxy;
System\IO\Packaging\PackWebRequest.cs (1)
357public override IWebProxy Proxy
System (1)
src\libraries\shims\System\ref\System.cs (1)
646[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.IWebProxy))]
System.Net.Http (13)
System\Net\Http\HttpClient.cs (2)
18private static IWebProxy? s_defaultProxy; 39public static IWebProxy DefaultProxy
System\Net\Http\HttpClientHandler.cs (1)
154public IWebProxy? Proxy
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)
83public 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 (1)
artifacts\obj\System.Net.Http.WinHttpHandler\Debug\net10.0\System.Net.Http.WinHttpHandler.notsupported.cs (1)
40public System.Net.IWebProxy? Proxy { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WinHttpHandler); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WinHttpHandler); } }
System.Net.Requests (15)
System\Net\FileWebRequest.cs (1)
94public override IWebProxy? Proxy { get; set; }
System\Net\FtpWebRequest.cs (1)
442public 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.WebSockets.Client (2)
System\Net\WebSockets\ClientWebSocketOptions.cs (2)
21private IWebProxy? _proxy; 110public 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