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

Method append

Tests/Libraries/Http/HttpAsyncClientTest.cpp:615–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613 {
614 Span<const char> data;
615 SC_ASSERT_RELEASE(connection != nullptr);
616 SC_ASSERT_RELEASE(connection->request.getReadableStream().getBuffersPool().getReadableData(bufferID, data));
617 SC_ASSERT_RELEASE(append(data));
618 SC_ASSERT_RELEASE(connection->request.consumeBodyBytes(data.sizeInBytes()));
619 }
620
621 void onPatchEnd()
622 {
623 test->recordExpectation("patch body",

Callers 1

appendMethod · 0.45

Calls 1

ResultClass · 0.50

Tested by

no test coverage detected