MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / asyncRead

Method asyncRead

Libraries/Http/HttpConnection.cpp:384–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382void HttpIncomingMessage::BodyStream::failBody(Result result) { emitError(result); }
383
384Result HttpIncomingMessage::BodyStream::asyncRead()
385{
386 if (onReadRequest.isValid())
387 {
388 return onReadRequest();
389 }
390 return Result(true);
391}
392
393Result HttpIncomingMessage::BodyStream::asyncResumeReading()
394{

Callers

nothing calls this directly

Calls 2

ResultClass · 0.50
isValidMethod · 0.45

Tested by

no test coverage detected