MCPcopy Create free account
hub / github.com/LagPixelLOL/ChatGPTCLIBot / ~RequestObject

Method ~RequestObject

main/interface/network/RequestObject.cpp:62–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected