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

Method curl_receiver

include/curl_receiver.h:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70 // Implementation of constructor.
71 template<typename T, const size_t SIZE> curl_receiver<T,SIZE>::curl_receiver() : _recv_bytes(0) {
72 if (SIZE <= 0) {
73 throw curl_exception("Buffer size can not be less or equal to zero",__FUNCTION__);
74 }
75 }
76
77 // Implementation of receive method.
78 template<typename T, const size_t SIZE> bool curl_receiver<T,SIZE>::receive(curl_easy &easy) {

Callers

nothing calls this directly

Calls 1

curl_exceptionClass · 0.85

Tested by

no test coverage detected