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

Method body_length

lib_acl_cpp/src/http/http_client.cpp:610–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610acl_int64 http_client::body_length(void) const
611{
612 if (is_request_) {
613 if (hdr_res_) {
614 return hdr_res_->hdr.content_length;
615 }
616 } else if (hdr_req_) {
617 return hdr_req_->hdr.content_length;
618 }
619 return -1;
620}
621
622bool http_client::request_range(acl_int64& range_from, acl_int64& range_to)
623{

Callers 9

runMethod · 0.45
rpc_runMethod · 0.45
rpc_runMethod · 0.45
http_requestMethod · 0.45
save_totalMethod · 0.45
get_bodyMethod · 0.45
getContentLengthMethod · 0.45
sendMethod · 0.45
transfer_responseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected