MCPcopy Create free account
hub / github.com/QuipNetwork/cpp-sdk / WriteCallback

Method WriteCallback

src/quip_factory.cpp:344–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342 }
343
344 static size_t WriteCallback(void *contents, size_t size, size_t nmemb,
345 void *userp) {
346 ((std::string *)userp)->append((char *)contents, size * nmemb);
347 return size * nmemb;
348 }
349
350 static int getNextRequestId() { return request_id_counter_++; }
351

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected