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

Method RequestObject

main/interface/network/RequestObject.cpp:26–31  ·  view source on GitHub ↗

class RequestObject start:

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 1

request_failedClass · 0.85

Tested by

no test coverage detected