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

Method get_request_head

lib_acl_cpp/src/http/http_client.cpp:1224–1234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224HTTP_HDR_REQ* http_client::get_request_head(string* buf)
1225{
1226 if (hdr_req_ == NULL) {
1227 return NULL;
1228 }
1229 if (buf) {
1230 ACL_VSTRING* vbf = buf->vstring();
1231 http_hdr_build(&hdr_req_->hdr, vbf);
1232 }
1233 return hdr_req_;
1234}
1235
1236void http_client::print_header(const char* prompt /* = NULL */)
1237{

Callers 1

Calls 2

http_hdr_buildFunction · 0.85
vstringMethod · 0.80

Tested by

no test coverage detected