Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ Run
Method
Run
example/cancel_c++/client.cpp:38–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
explicit CancelRPC(brpc::CallId rpc_id) : _rpc_id(rpc_id) {}
37
38
void Run() {
39
brpc::StartCancel(_rpc_id);
40
}
41
42
private:
43
brpc::CallId _rpc_id;
Callers
2
ProcessThriftFramedRequest
Method · 0.45
ProcessThriftFramedRequest
Method · 0.45
Calls
1
StartCancel
Function · 0.85
Tested by
no test coverage detected