Searched refs:curl_ (Results 1 – 1 of 1) sorted by relevance
/device/google/cuttlefish/host/libs/web/http_client/ |
D | http_client.cc | 121 curl_ = curl_easy_init(); in CurlClient() 122 if (!curl_) { in CurlClient() 127 ~CurlClient() { curl_easy_cleanup(curl_); } in ~CurlClient() 196 char* escaped_str = curl_easy_escape(curl_, text.c_str(), text.size()); in UrlEscape() 264 curl_easy_setopt(curl_, CURLOPT_RESOLVE, extra_cache_entries.get()); in DownloadToCallback() 268 CF_EXPECT(curl_ != nullptr, "curl was not initialized"); in DownloadToCallback() 272 curl_easy_reset(curl_); in DownloadToCallback() 274 curl_easy_setopt(curl_, CURLOPT_CUSTOMREQUEST, "DELETE"); in DownloadToCallback() 276 curl_easy_setopt(curl_, CURLOPT_CAINFO, in DownloadToCallback() 278 curl_easy_setopt(curl_, CURLOPT_HTTPHEADER, curl_headers.get()); in DownloadToCallback() [all …]
|