| 60 | } |
| 61 | |
| 62 | RequestObject::~RequestObject() { |
| 63 | if (mime) { |
| 64 | curl_mime_free(mime); |
| 65 | } |
| 66 | if (headers_c) { |
| 67 | curl_slist_free_all(headers_c); |
| 68 | } |
| 69 | if (curl) { |
| 70 | curl_easy_cleanup(curl); |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | CURL* RequestObject::construct() { |
| 75 | curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); |
nothing calls this directly
no outgoing calls
no test coverage detected