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

Method initBodyStream

Libraries/Http/HttpConnection.cpp:446–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444}
445
446Result HttpIncomingMessage::initBodyStream(AsyncBuffersPool& buffersPool, Function<Result()>&& onReadRequest)
447{
448 bodyStream.destroy();
449 attachReadableStream(bodyStream);
450 bodyStreamStarted = false;
451 return bodyStream.begin(buffersPool, move(onReadRequest));
452}
453
454Result HttpIncomingMessage::startBodyStream()
455{

Callers 2

prepareRequestMethod · 0.80
onResponseDataMethod · 0.80

Calls 3

attachReadableStreamFunction · 0.85
destroyMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected