jjzjj

MyProxyConfig

全部标签

c++ - 在 C++ 中的 cURL 库请求中设置 Internet Explorer 代理 - Windows

好吧,我想使用默认的InternetExplorer连接代理设置在C++中的cURL中发出请求,这是我的示例代码:CURL*curl;CURLcoderesult;curl=curl_easy_init();charerrorBuffer[CURL_ERROR_SIZE];if(curl){//Nowsetupallofthecurloptionscurl_easy_setopt(curl,CURLOPT_ERRORBUFFER,errorBuffer);curl_easy_setopt(curl,CURLOPT_URL,url);curl_easy_setopt(curl,CURLO