1 interface inheriting from IWebProxy
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\IMultiWebProxy.cs (1)
9
internal interface IMultiWebProxy :
IWebProxy
7 implementations of IWebProxy
NuGet.Configuration (1)
Proxy\WebProxy.cs (1)
16
public class WebProxy :
IWebProxy
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
92
internal sealed partial class HttpEnvironmentProxy :
IWebProxy
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Unix.cs (1)
8
internal sealed partial class HttpEnvironmentProxy :
IWebProxy
System\Net\Http\SocketsHttpHandler\HttpNoProxy.cs (1)
6
internal sealed class HttpNoProxy :
IWebProxy
System.Net.Requests (1)
System\Net\GlobalProxySelection.cs (1)
21
private sealed class EmptyWebProxy :
IWebProxy
System.Net.WebProxy (2)
System\Net\WebProxy.cs (1)
23
public partial class WebProxy :
IWebProxy
, ISerializable
System\Net\WebProxy.Wasm.cs (1)
8
public partial class WebProxy :
IWebProxy
, ISerializable
78 references to IWebProxy
dotnet-svcutil-lib (3)
FrameworkFork\Microsoft.Xml\Xml\XmlUrlResolver.cs (2)
21
private
IWebProxy
_proxy;
35
public
IWebProxy
Proxy
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceModelHttpMessageHandler.cs (1)
40
public
IWebProxy
Proxy
Microsoft.AspNetCore.Http.Connections.Client (3)
HttpConnectionOptions.cs (2)
28
private
IWebProxy
? _proxy;
215
public
IWebProxy
? Proxy
Internal\WebSocketsTransport.cs (1)
155
var
originalProxy = webSocket.Options.Proxy;
netstandard (1)
netstandard.cs (1)
1161
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.
IWebProxy
))]
NuGet.Configuration (4)
Credential\ICredentialService.cs (1)
31
IWebProxy
? proxy,
Proxy\IProxyCache.cs (1)
11
IWebProxy
? GetProxy(Uri uri);
Proxy\ProxyCache.cs (1)
61
public
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)
77
IWebProxy
? proxy,
DefaultNetworkCredentialsCredentialProvider.cs (1)
41
IWebProxy
? proxy,
ICredentialProvider.cs (1)
35
IWebProxy
? proxy,
PluginCredentialProvider.cs (1)
92
IWebProxy
? proxy,
SecurePluginCredentialProvider.cs (2)
89
IWebProxy
? proxy,
223
IWebProxy
proxy,
NuGet.Protocol (6)
HttpSource\HttpHandlerResourceV3Provider.cs (1)
60
var
proxy = _proxyCache.GetProxy(sourceUri);
HttpSource\HttpSourceAuthenticationHandler.cs (1)
277
var
proxy = proxyCache?.GetProxy(_packageSource.SourceUri);
HttpSource\ProxyAuthenticationHandler.cs (2)
148
private async Task<bool> AcquireCredentialsAsync(Uri requestUri, Guid cacheVersion,
IWebProxy
proxy, ICredentialService credentialService, ILogger log, CancellationToken cancellationToken)
199
private static async Task<NetworkCredential?> PromptForProxyCredentialsAsync(Uri proxyAddress,
IWebProxy
proxy, ICredentialService credentialService, ILogger log, CancellationToken cancellationToken)
Plugins\RequestHandlers\GetCredentialsRequestHandler.cs (2)
29
private readonly
IWebProxy
? _proxy;
47
IWebProxy
? proxy,
PresentationCore (5)
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
289
internal
IWebProxy
Proxy
862
private
IWebProxy
_proxy;
MS\Internal\IO\Packaging\PseudoWebRequest.cs (2)
243
public override
IWebProxy
Proxy
375
private
IWebProxy
_proxy;
System\IO\Packaging\PackWebRequest.cs (1)
356
public 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)
24
private readonly
IWebProxy
? _proxy;
26
public DiagnosticsHandler(HttpMessageHandler innerHandler, DistributedContextPropagator propagator,
IWebProxy
? proxy, bool autoRedirect = false)
System\Net\Http\DiagnosticsHelper.cs (1)
42
public static string GetServerAddress(HttpRequestMessage request,
IWebProxy
? proxy)
System\Net\Http\HttpClient.cs (2)
18
private static
IWebProxy
? s_defaultProxy;
39
public static
IWebProxy
DefaultProxy
System\Net\Http\HttpClientHandler.cs (1)
158
public
IWebProxy
? Proxy
System\Net\Http\Metrics\MetricsHandler.cs (2)
134
private readonly
IWebProxy
? _proxy;
136
public MetricsHandler(HttpMessageHandler innerHandler, IMeterFactory? meterFactory,
IWebProxy
? proxy, out Meter meter)
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (1)
44
private readonly
IWebProxy
? _proxy;
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
26
internal
IWebProxy
? _proxy;
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.Unix.cs (1)
15
public 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)
88
public
IWebProxy
? Proxy
System\Net\Http\SocketsHttpHandler\SystemProxyInfo.cs (3)
8
public static
IWebProxy
Proxy => s_proxy.Value;
10
private static readonly Lazy<
IWebProxy
> s_proxy = new Lazy<
IWebProxy
>(ConstructSystemProxy);
System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Unix.cs (2)
11
public static
IWebProxy
ConstructSystemProxy()
13
return HttpEnvironmentProxy.TryCreate(out
IWebProxy
? proxy) ? proxy : new HttpNoProxy();
System.Net.Http.WinHttpHandler (3)
System\Net\Http\WinHttpHandler.cs (2)
80
private
IWebProxy
? _proxy;
368
public
IWebProxy
? Proxy
System\Net\Http\WinHttpRequestState.cs (1)
139
public
IWebProxy
? Proxy { get; set; }
System.Net.Requests (15)
System\Net\FileWebRequest.cs (1)
94
public override
IWebProxy
? Proxy { get; set; }
System\Net\FtpWebRequest.cs (1)
440
public override
IWebProxy
? Proxy
System\Net\GlobalProxySelection.cs (2)
13
public static
IWebProxy
Select
19
public static
IWebProxy
GetEmptyWebProxy() => new EmptyWebProxy();
System\Net\HttpWebRequest.cs (3)
46
private
IWebProxy
? _proxy = WebRequest.DefaultWebProxy;
123
public readonly
IWebProxy
? Proxy;
978
public override
IWebProxy
? Proxy
System\Net\ServicePoint\ServicePointManager.cs (3)
105
public static ServicePoint FindServicePoint(string uriString,
IWebProxy
? proxy) => FindServicePoint(new Uri(uriString), proxy);
107
public static ServicePoint FindServicePoint(Uri address,
IWebProxy
? proxy)
170
private static bool ProxyAddressIfNecessary(ref Uri address,
IWebProxy
? proxy)
System\Net\WebRequest.cs (5)
545
private static
IWebProxy
? s_DefaultWebProxy;
548
public static
IWebProxy
GetSystemWebProxy() => HttpClient.DefaultProxy;
550
public static
IWebProxy
? DefaultWebProxy
552
get => LazyInitializer.EnsureInitialized<
IWebProxy
>(ref s_DefaultWebProxy, ref s_DefaultWebProxyInitialized, ref s_internalSyncObject, GetSystemWebProxy);
575
public virtual
IWebProxy
? Proxy
System.Net.WebClient (2)
System\Net\WebClient.cs (2)
39
private
IWebProxy
? _proxy;
204
public
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)
57
public System.Net.
IWebProxy
Proxy
System.Private.Xml (5)
System\Xml\XmlDownloadManager.cs (3)
13
internal static Stream GetStream(Uri uri, ICredentials? credentials,
IWebProxy
? proxy)
27
internal static Task<Stream> GetStreamAsync(Uri uri, ICredentials? credentials,
IWebProxy
? proxy)
40
private static async Task<Stream> GetNonFileStreamAsync(Uri uri, ICredentials? credentials,
IWebProxy
? proxy)
System\Xml\XmlUrlResolver.cs (2)
17
private
IWebProxy
? _proxy;
28
public
IWebProxy
? Proxy
System.ServiceModel.Http (4)
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
154
internal
IWebProxy
Proxy { get; set; }
1383
public async Task<
IWebProxy
> CreateWebProxyAsync(AuthenticationLevel requestAuthenticationLevel, TokenImpersonationLevel requestImpersonationLevel, SecurityTokenProviderContainer tokenProvider, TimeSpan timeout)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
157
public
IWebProxy
Proxy { get; set; }
System\ServiceModel\Channels\HttpTransportDefaults.cs (1)
17
internal const
IWebProxy
Proxy = null;