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

Method assign

src/curl_multi.cpp:127–132  ·  view source on GitHub ↗

Implementation of assign method.

Source from the content-addressed store, hash-verified

125
126// Implementation of assign method.
127void curl_multi::assign(const curl_socket_t sockfd, void *sockptr) {
128 const CURLMcode code = curl_multi_assign(this->curl.get(),sockfd,sockptr);
129 if (code != CURLM_OK) {
130 throw curl_multi_exception(code,__FUNCTION__);
131 }
132}
133
134// Implementation of timeout method.
135void curl_multi::timeout(long *timeout) {

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected