Lines Matching refs:curl_
43 curl_(nullptr), in LibcurlWrapper()
50 (*easy_cleanup_)(curl_); in ~LibcurlWrapper()
61 (*easy_setopt_)(curl_, CURLOPT_PROXY, proxy_host.c_str()); in SetProxy()
67 (*easy_setopt_)(curl_, CURLOPT_PROXYUSERPWD, proxy_userpwd.c_str()); in SetProxy()
116 (*easy_setopt_)(curl_, CURLOPT_HTTPPOST, formpost_); in SendRequest()
128 (*easy_setopt_)(curl_, CURLOPT_HTTPGET, 1L); in SendGetRequest()
142 (*easy_setopt_)(curl_, CURLOPT_UPLOAD, 1L); in SendPutRequest()
143 (*easy_setopt_)(curl_, CURLOPT_PUT, 1L); in SendPutRequest()
144 (*easy_setopt_)(curl_, CURLOPT_READDATA, file); in SendPutRequest()
161 (*easy_setopt_)(curl_, CURLOPT_POSTFIELDSIZE, body.size()); in SendSimplePostRequest()
162 (*easy_setopt_)(curl_, CURLOPT_COPYPOSTFIELDS, body.c_str()); in SendSimplePostRequest()
205 curl_ = (*easy_init_)(); in Init()
209 if (!curl_) { in Init()
274 (*easy_setopt_)(curl_, CURLOPT_URL, url_copy.c_str()); in SendRequestInner()
279 (*easy_setopt_)(curl_, CURLOPT_HTTPHEADER, headerlist_); in SendRequestInner()
283 (*easy_setopt_)(curl_, CURLOPT_WRITEFUNCTION, WriteCallback); in SendRequestInner()
284 (*easy_setopt_)(curl_, CURLOPT_WRITEDATA, in SendRequestInner()
289 (*easy_setopt_)(curl_, CURLOPT_HEADERFUNCTION, WriteCallback); in SendRequestInner()
290 (*easy_setopt_)(curl_, CURLOPT_HEADERDATA, in SendRequestInner()
294 err_code = (*easy_perform_)(curl_); in SendRequestInner()
299 (*easy_getinfo_)(curl_, CURLINFO_RESPONSE_CODE, http_status_code); in SendRequestInner()
325 (*easy_reset_)(curl_); in Reset()