I'm converting some code to v16 native code that previously used the BaseElements plug-in to making the HTTP requests. Everything is going well so far and the final change I need to convert relates to setting proxy values. I had previously being using this to set the proxy server settings:
BE_HTTP_Set_Proxy ( Settings::ProxyServerAddress ; Settings::ProxyServerPort ; Settings::ProxyServerUsername ; Settings::ProxyServerPassword )
and now need to convert this to the new v16 cURL syntax. It looks like proxy commands are supported:
but I can't get my head around how to specify the proxy server address, port number, username and password? Does anyone have an example of how to do this using the new cURL commands in v16?