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

Method remove

src/curl_multi.cpp:63–70  ·  view source on GitHub ↗

Implementation of remove for easy handlers.

Source from the content-addressed store, hash-verified

61
62// Implementation of remove for easy handlers.
63void curl_multi::remove(const curl_easy &easy) {
64 const CURLMcode code = curl_multi_remove_handle(this->curl.get(),easy.get_curl());
65 if (code == CURLM_OK) {
66 handles.erase(easy.get_curl());
67 } else {
68 throw curl_multi_exception(code,__FUNCTION__);
69 }
70}
71
72// Implementation of get_next_finished method.
73std::unique_ptr<curl_multi::curl_message> curl_multi::get_next_finished() {

Callers

nothing calls this directly

Calls 4

eraseMethod · 0.80
getMethod · 0.45
get_curlMethod · 0.45

Tested by

no test coverage detected