class RequestObject start:
| 24 | |
| 25 | //class RequestObject start: |
| 26 | RequestObject::RequestObject() { |
| 27 | curl = curl_easy_init(); |
| 28 | if (!curl) { |
| 29 | throw request_failed("Failed to initialize cURL."); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | RequestObject::RequestObject(RequestObject&& other) noexcept { |
| 34 | curl = other.curl; |
nothing calls this directly
no test coverage detected