Amazon.S3.AmazonS3HttpUtil.SetProxyIfAvailableAndConfigured C# (CSharp) Метод

SetProxyIfAvailableAndConfigured() приватный статический Метод

private static SetProxyIfAvailableAndConfigured ( IClientConfig config, HttpWebRequest httpWebRequest ) : void
config IClientConfig
httpWebRequest System.Net.HttpWebRequest
Результат void
        private static void SetProxyIfAvailableAndConfigured(IClientConfig config, HttpWebRequest httpWebRequest)
        {
#if BCL || UNITY || CORECLR
            var proxy = GetProxyIfAvailableAndConfigured(config);
            if (proxy != null)
            {
                httpWebRequest.Proxy = proxy;
            }
#endif
        }