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

Method startBodyStream

Libraries/Http/HttpConnection.cpp:454–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454Result HttpIncomingMessage::startBodyStream()
455{
456 if (bodyStream.canStart())
457 {
458 SC_TRY(bodyStream.start());
459 }
460 else
461 {
462 bodyStream.resumeReading();
463 }
464 bodyStreamStarted = true;
465 return Result(true);
466}
467
468bool HttpIncomingMessage::pushBodyData(AsyncBufferView::ID bufferID, size_t sizeInBytes)
469{

Callers 2

onStreamReceiveMethod · 0.80
startResponseStreamsMethod · 0.80

Calls 3

resumeReadingMethod · 0.80
ResultClass · 0.50
startMethod · 0.45

Tested by

no test coverage detected