コード例 #1
0
ファイル: CurlHandle.cpp プロジェクト: arangodb/fuerte
void CurlHandle::perform() {
  CURLcode code;

  code = curl_easy_perform(mCurl);
  throwException();
  libcurlRuntimeAssert(mErrorBuffer, code);  // if we got an error
}
コード例 #2
0
ファイル: Exception.cpp プロジェクト: blog2i2j/greentimer
void cURLpp::libcurlRuntimeAssert(const char *reason, CURLcode code)
{
  libcurlRuntimeAssert(std::string(reason), code);
}