MCPcopy Create free account
hub / github.com/JosephP91/curlcpp / add

Method add

include/curl_multi.h:336–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334
335 // Implementation of add method
336 template<typename T> void curl_multi::add(const curl_pair<CURLMoption,T> &pair) {
337 const CURLMcode code = curl_multi_setopt(this->curl.get(),pair.first(),pair.second());
338 if (code != CURLM_OK) {
339 throw curl_multi_exception(code,__FUNCTION__);
340 }
341 }
342
343 // Implementation of overloaded add method.
344 template<typename Iterator> void curl_multi::add(Iterator begin, const Iterator end) {

Callers

nothing calls this directly

Calls 4

getMethod · 0.45
firstMethod · 0.45
secondMethod · 0.45

Tested by

no test coverage detected