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

Method escape

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

Source from the content-addressed store, hash-verified

216}
217
218std::string HTTPClient::escape(std::string string_to_escape) {
219 return curl_easy_escape(http_session_, string_to_escape.c_str(), gsl::narrow<int>(string_to_escape.length()));
220}
221
222void HTTPClient::setPostFields(const std::string& input) {
223 curl_easy_setopt(http_session_, CURLOPT_POSTFIELDSIZE, input.length());

Callers 1

get_tokenFunction · 0.80

Calls 2

c_strMethod · 0.80
lengthMethod · 0.80

Tested by

no test coverage detected