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

Method ComboEcho

test/brpc_server_unittest.cpp:152–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 }
151
152 virtual void ComboEcho(google::protobuf::RpcController*,
153 const test::ComboRequest* request,
154 test::ComboResponse* response,
155 google::protobuf::Closure* done) {
156 brpc::ClosureGuard done_guard(done);
157 for (int i = 0; i < request->requests_size(); ++i) {
158 response->add_responses()->set_message(request->requests(i).message());
159 }
160 }
161
162 virtual void BytesEcho1(google::protobuf::RpcController*,
163 const test::BytesRequest* request,

Callers 1

CallMethodMethod · 0.80

Calls 1

messageMethod · 0.45

Tested by

no test coverage detected