15 lines
250 B
C++
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
|