CodeIgniter Forums

Full Version: Curlopt_proxy support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i would like to use the culr codeigniter4 library and set the proxy.

i added this line inside the system/curlRequest.php under the function setCurlOption for my code to work .
$curl_options[CURLOPT_PROXY] = array_key_exists('proxy', $config) ? $config['proxy'] : '';

please could you add something to handle the curlopt_proxy?

thank you.
We had one attempted PR but it needed reworking and the author went missing:

If you’d like to use that info to make an attempt at a PR I think this would be a good addition.