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

Method print_header

lib_acl_cpp/src/http/http_client.cpp:1236–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1234}
1235
1236void http_client::print_header(const char* prompt /* = NULL */)
1237{
1238 if (hdr_res_) {
1239 http_hdr_print(&hdr_res_->hdr, prompt);
1240 } else if (hdr_req_) {
1241 http_hdr_print(&hdr_req_->hdr, prompt);
1242 }
1243}
1244
1245void http_client::fprint_header(ostream& out, const char* prompt /* = NULL */)
1246{

Callers 4

get_urlFunction · 0.80
runMethod · 0.80
get_bodyMethod · 0.80
startMethod · 0.80

Calls 1

http_hdr_printFunction · 0.85

Tested by

no test coverage detected