mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 09:57:14 +01:00
16 lines
251 B
C++
16 lines
251 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
|