Lines Matching refs:Curl
65 curl_easy_setopt(Curl, CURLOPT_TIMEOUT_MS, Timeout.count()); in setTimeout()
94 if (Curl) in HTTPClient()
96 Curl = curl_easy_init(); in HTTPClient()
97 assert(Curl && "Curl could not be initialized"); in HTTPClient()
99 curl_easy_setopt(Curl, CURLOPT_WRITEFUNCTION, curlWriteFunction); in HTTPClient()
101 curl_easy_setopt(Curl, CURLOPT_ACCEPT_ENCODING, ""); in HTTPClient()
104 HTTPClient::~HTTPClient() { curl_easy_cleanup(Curl); } in ~HTTPClient()
113 curl_easy_setopt(Curl, CURLOPT_URL, Url.c_str()); in perform()
114 curl_easy_setopt(Curl, CURLOPT_FOLLOWLOCATION, Request.FollowRedirects); in perform()
119 curl_easy_setopt(Curl, CURLOPT_HTTPHEADER, Headers); in perform()
122 curl_easy_setopt(Curl, CURLOPT_WRITEDATA, &CurlRequest); in perform()
123 CURLcode CurlRes = curl_easy_perform(Curl); in perform()
135 curl_easy_getinfo(Curl, CURLINFO_RESPONSE_CODE, &Code); in responseCode()