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
        }