Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ on_closed
Method
on_closed
example/streaming_echo_c++/server.cpp:46–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
LOG(INFO) <<
"Stream="
<< id <<
" has no data transmission for a while"
;
45
}
46
virtual void on_closed(brpc::StreamId id) {
47
LOG(INFO) <<
"Stream="
<< id <<
" is closed"
;
48
}
49
50
};
51
Callers
1
Consume
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected