Lines Matching refs:curl_easy_setopt
1734 curl_easy_setopt( curl, CURLOPT_USERAGENT, MY_NAME "/" LONG_VERSION_STRING );
1735 curl_easy_setopt( curl, CURLOPT_WRITEFUNCTION, writeFunc );
1736 curl_easy_setopt( curl, CURLOPT_WRITEDATA, writebuf );
1737 curl_easy_setopt( curl, CURLOPT_HEADERFUNCTION, parseResponseHeader );
1738 curl_easy_setopt( curl, CURLOPT_POST, 1 );
1739 curl_easy_setopt( curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL );
1740 curl_easy_setopt( curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY );
1741 curl_easy_setopt( curl, CURLOPT_VERBOSE, debug );
1742 curl_easy_setopt( curl, CURLOPT_ENCODING, "" ); /* "" tells curl to fill in the blanks with what it was compiled to support */
1744 curl_easy_setopt( curl, CURLOPT_NETRC_FILE, netrc );
1746 curl_easy_setopt( curl, CURLOPT_USERPWD, auth );
1748 curl_easy_setopt( curl, CURLOPT_SSL_VERIFYPEER, 0 ); /* since most certs will be self-signed, do not verify against CA */
1752 curl_easy_setopt( curl, CURLOPT_HTTPHEADER, custom_headers );
1769 curl_easy_setopt( curl, CURLOPT_URL, rpcurl_http );
1770 curl_easy_setopt( curl, CURLOPT_POSTFIELDS, json );
1771 curl_easy_setopt( curl, CURLOPT_TIMEOUT, getTimeoutSecs( json ) );