gd-tools/cpr-1.10.5/cpr/curlmultiholder.cpp
2024-02-07 16:32:30 -04:00

15 lines
250 B
C++

#include "cpr/curlmultiholder.h"
#include <cassert>
namespace cpr {
CurlMultiHolder::CurlMultiHolder() : handle{curl_multi_init()} {
assert(handle);
}
CurlMultiHolder::~CurlMultiHolder() {
curl_multi_cleanup(handle);
}
} // namespace cpr