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

Method setPostFields

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

Source from the content-addressed store, hash-verified

220}
221
222void HTTPClient::setPostFields(const std::string& input) {
223 curl_easy_setopt(http_session_, CURLOPT_POSTFIELDSIZE, input.length());
224 curl_easy_setopt(http_session_, CURLOPT_COPYPOSTFIELDS, input.c_str());
225}
226
227void HTTPClient::setPostSize(size_t size) {
228 curl_easy_setopt(http_session_, CURLOPT_POSTFIELDSIZE, size);

Callers 4

get_tokenFunction · 0.80
createTransactionMethod · 0.80
initialize_clientMethod · 0.80

Calls 2

lengthMethod · 0.80
c_strMethod · 0.80

Tested by 1

initialize_clientMethod · 0.64