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

Method wait

src/curl_multi.cpp:119–124  ·  view source on GitHub ↗

Implementation of wait method.

Source from the content-addressed store, hash-verified

117
118// Implementation of wait method.
119void curl_multi::wait(struct curl_waitfd extra_fds[], const unsigned int extra_nfds, const int timeout_ms, int *numfds) {
120 const CURLMcode code = curl_multi_wait(this->curl.get(),extra_fds,extra_nfds,timeout_ms,numfds);
121 if (code != CURLM_OK) {
122 throw curl_multi_exception(code,__FUNCTION__);
123 }
124}
125
126// Implementation of assign method.
127void curl_multi::assign(const curl_socket_t sockfd, void *sockptr) {

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected