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

Method consumeBodyBytes

Libraries/Http/HttpConnection.cpp:431–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429StringSpan HttpIncomingMessage::getVersion() const
430{
431 StringSpan version;
432 (void)findParserToken(HttpParser::Token::Version, version);
433 return version;
434}
435
436AsyncReadableStream& HttpIncomingMessage::getReadableStream()
437{
438 SC_HTTP_ASSERT_RELEASE(readableStream != nullptr);
439 return *readableStream;
440}
441
442const AsyncReadableStream& HttpIncomingMessage::getReadableStream() const
443{
444 SC_HTTP_ASSERT_RELEASE(readableStream != nullptr);
445 return *readableStream;
446}
447

Callers 5

onDataMethod · 0.80
onPatchDataMethod · 0.80
onDataMethod · 0.80
onDataMethod · 0.80
onDataMethod · 0.80

Calls 1

ResultClass · 0.50

Tested by 5

onDataMethod · 0.64
onPatchDataMethod · 0.64
onDataMethod · 0.64
onDataMethod · 0.64
onDataMethod · 0.64