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

Method Run

src/brpc/policy/http_rpc_protocol.cpp:815–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813public:
814 explicit HttpResponseSenderAsDone(HttpResponseSender* s) : _sender(std::move(*s)) {}
815 void Run() override {
816 if (NULL != _sender._messages) {
817 _sender._cntl->CallAfterRpcResp(_sender._messages->Request(),
818 _sender._messages->Response());
819 }
820 delete this;
821 }
822
823private:
824 HttpResponseSender _sender;

Callers

nothing calls this directly

Calls 3

CallAfterRpcRespMethod · 0.80
RequestMethod · 0.45
ResponseMethod · 0.45

Tested by

no test coverage detected