MCPcopy Create free account
hub / github.com/amcewen/HttpClient / endOfBodyReached

Method endOfBodyReached

HttpClient.cpp:434–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432}
433
434bool HttpClient::endOfBodyReached()
435{
436 if (endOfHeadersReached() && (contentLength() != kNoContentLengthHeader))
437 {
438 // We've got to the body and we know how long it will be
439 return (iBodyLengthConsumed >= contentLength());
440 }
441 return false;
442}
443
444int HttpClient::read()
445{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected