MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / writeBodyCallback

Method writeBodyCallback

src/net/http_request.cpp:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 }
92
93 static std::size_t writeBodyCallback(char* ptr, std::size_t size, std::size_t nmemb, void* userdata) {
94 HttpRequestImpl* req = reinterpret_cast<HttpRequestImpl*>(userdata);
95 return req->writeBody(ptr, size*nmemb);
96 }
97
98 CURL* m_curl;
99 curl_slist* m_headerlist;

Callers

nothing calls this directly

Calls 1

writeBodyMethod · 0.80

Tested by

no test coverage detected