MCPcopy Create free account
hub / github.com/acl-dev/acl / sprint_header

Method sprint_header

lib_acl_cpp/src/http/http_client.cpp:1259–1271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1257}
1258
1259void http_client::sprint_header(string& out, const char* prompt /* = NULL */)
1260{
1261 ACL_VSTRING* bf = out.vstring();
1262 if (bf == NULL) {
1263 logger_error("vstring null");
1264 return;
1265 }
1266 if (hdr_res_) {
1267 http_hdr_sprint(bf, &hdr_res_->hdr, prompt);
1268 } else if (hdr_req_) {
1269 http_hdr_sprint(bf, &hdr_req_->hdr, prompt);
1270 }
1271}
1272
1273} // namespace acl

Callers 15

onDownloadFinishMethod · 0.45
runMethod · 0.45
HttpGetFunction · 0.45
getMethod · 0.45
getMethod · 0.45
HttpGetFunction · 0.45
logger_requestMethod · 0.45
http_requestMethod · 0.45
doErrorMethod · 0.45
doUnknownMethod · 0.45
doPostMethod · 0.45
transfer_request_headMethod · 0.45

Calls 2

http_hdr_sprintFunction · 0.85
vstringMethod · 0.80

Tested by

no test coverage detected