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

Method start

example/http_c++/http_server.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 QueueServiceImpl() {}
138 virtual ~QueueServiceImpl() {}
139 void start(google::protobuf::RpcController* cntl_base,
140 const HttpRequest*,
141 HttpResponse*,
142 google::protobuf::Closure* done) {
143 brpc::ClosureGuard done_guard(done);
144 brpc::Controller* cntl =
145 static_cast<brpc::Controller*>(cntl_base);
146 cntl->response_attachment().append("queue started");
147 }
148 void stop(google::protobuf::RpcController* cntl_base,
149 const HttpRequest*,
150 HttpResponse*,

Callers 3

mainFunction · 0.45
ControlServiceImplMethod · 0.45
mainFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected