MCPcopy Create free account
hub / github.com/apache/brpc / OnReadOnePart

Method OnReadOnePart

src/brpc/details/http_message.cpp:366–369  ·  view source on GitHub ↗

@ProgressiveReader

Source from the content-addressed store, hash-verified

364public:
365 // @ProgressiveReader
366 butil::Status OnReadOnePart(const void* /*data*/, size_t /*length*/) {
367 return butil::Status(-1, "Trigger by FailAllRead at %s:%d",
368 __FILE__, __LINE__);
369 }
370 void OnEndOfMessage(const butil::Status&) {}
371};
372

Callers 3

OnBodyMethod · 0.45
SetBodyReaderMethod · 0.45

Calls 1

StatusEnum · 0.50

Tested by

no test coverage detected