MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / setSeekFunction

Method setSeekFunction

extensions/http-curl/client/HTTPClient.cpp:196–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196void HTTPClient::setSeekFunction(HTTPUploadCallback *callbackObj) {
197 curl_easy_setopt(http_session_, CURLOPT_SEEKDATA, static_cast<void*>(callbackObj));
198 curl_easy_setopt(http_session_, CURLOPT_SEEKFUNCTION, &utils::HTTPRequestResponse::seek_callback);
199}
200
201struct curl_slist *HTTPClient::build_header_list(std::string regex, const std::map<std::string, std::string> &attributes) {
202 if (http_session_) {

Callers 1

onTriggerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected