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

Method read_body

lib_acl_cpp/src/http/http_response.cpp:283–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283int http_response::read_body(char* buf, size_t size)
284{
285 if (!header_ok_) {
286 logger_error("header not read yet");
287 return -1;
288 }
289 return client_->read_body(buf, size);
290}
291
292bool http_response::response(const void* data, size_t len)
293{

Callers 1

get_bodyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected