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

Method send

include/curl_sender.h:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62 // Implementation of send method.
63 template<class T> void curl_sender<T>::send(const T buffer, const size_t size) {
64 const CURLcode code = curl_easy_send(_easy.get_curl(),buffer,size,&_sent_bytes);
65 if (code != CURLE_OK) {
66 throw curl_easy_exception(code,__FUNCTION__);
67 }
68 }
69
70 // Implementation of get_sent_bytes method.
71 template<class T> inline size_t curl_sender<T>::get_sent_bytes() const {

Callers

nothing calls this directly

Calls 2

curl_easy_exceptionClass · 0.85
get_curlMethod · 0.45

Tested by

no test coverage detected