Home | History | Annotate | Download | only in http

Lines Matching refs:code

2 // Use of this source code is governed by a BSD-style license that can be
89 CURLcode code = curl_easy_getinfo(curl, info, &data);
90 if (code == CURLE_OK)
92 return code;
107 CURLcode code = curl_easy_getinfo(curl, info, &data);
108 if (code == CURLE_OK)
110 return code;
121 std::string CurlApi::EasyStrError(CURLcode code) const {
122 return curl_easy_strerror(code);
148 CURLMcode code =
150 if (code != CURLM_OK)
151 return code;
159 CURLMcode code =
161 if (code != CURLM_OK)
162 return code;
179 std::string CurlApi::MultiStrError(CURLMcode code) const {
180 return curl_multi_strerror(code);