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

Method on_failed

src/brpc/stream.h:51–52  ·  view source on GitHub ↗

`on_failed` will be called before `on_closed` when the stream is closed abnormally.

Source from the content-addressed store, hash-verified

49 // `on_failed` will be called before `on_closed`
50 // when the stream is closed abnormally.
51 virtual void on_failed(StreamId id, int error_code,
52 const std::string& error_text) {}
53};
54
55struct StreamOptions {

Callers 1

ConsumeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected