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

Method stop

example/http_c++/http_server.cpp:148–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 cntl->response_attachment().append("queue started");
147 }
148 void stop(google::protobuf::RpcController* cntl_base,
149 const HttpRequest*,
150 HttpResponse*,
151 google::protobuf::Closure* done) {
152 brpc::ClosureGuard done_guard(done);
153 brpc::Controller* cntl =
154 static_cast<brpc::Controller*>(cntl_base);
155 cntl->response_attachment().append("queue stopped");
156 }
157 void getstats(google::protobuf::RpcController* cntl_base,
158 const HttpRequest*,
159 HttpResponse*,

Callers 1

mainFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected