| 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 { |
nothing calls this directly
no test coverage detected