Exemplo n.º 1
0
void CurlHandle::perform() {
  CURLcode code;

  code = curl_easy_perform(mCurl);
  throwException();
  libcurlRuntimeAssert(mErrorBuffer, code);  // if we got an error
}
Exemplo n.º 2
0
void cURLpp::libcurlRuntimeAssert(const char *reason, CURLcode code)
{
  libcurlRuntimeAssert(std::string(reason), code);
}