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

Method call_method

tools/rpc_press/rpc_press_impl.cpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void PressClient::call_method(brpc::Controller* cntl, Message* request,
87 Message* response, Closure* done) {
88 if (!_attachment.empty()) {
89 cntl->request_attachment().append(_attachment);
90 }
91 _rpc_client.CallMethod(_method_descriptor, cntl, request, response, done);
92}
93
94RpcPress::RpcPress()
95 : _pbrpc_client(NULL)

Callers 1

sync_clientMethod · 0.80

Calls 3

emptyMethod · 0.45
appendMethod · 0.45
CallMethodMethod · 0.45

Tested by

no test coverage detected