private static void SetProxyIfAvailableAndConfigured(IClientConfig config, HttpWebRequest httpWebRequest) { #if BCL || UNITY || CORECLR var proxy = GetProxyIfAvailableAndConfigured(config); if (proxy != null) { httpWebRequest.Proxy = proxy; } #endif }