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

Method add

include/curl_share.h:152–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150
151 // Implementation of add method
152 template<CURLSHoption Opt> void curl_share::add(const detail::SHOption_type<Opt> val) {
153 const auto code = curl_share_setopt(this->curl, Opt, val);
154 if (code != CURLSHE_OK) {
155 throw curl_share_exception(code, __FUNCTION__);
156 }
157 }
158
159 // Implementation of overloaded add method.
160 template<typename Iterator> void curl_share::add(Iterator begin, const Iterator end) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected