MCPcopy Create free account
hub / github.com/apache/thrift / response

Method response

lib/cpp/src/thrift/async/TEvhttpClientChannel.cpp:144–152  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

142}
143
144/* static */ void TEvhttpClientChannel::response(struct evhttp_request* req, void* arg) {
145 auto* self = (TEvhttpClientChannel*)arg;
146 try {
147 self->finish(req);
148 } catch (std::exception& e) {
149 // don't propagate a C++ exception in C code (e.g. libevent)
150 std::cerr << "TEvhttpClientChannel::response exception thrown (ignored): " << e.what() << '\n';
151 }
152}
153}
154}
155} // apache::thrift::async

Callers

nothing calls this directly

Calls 2

finishMethod · 0.95
whatMethod · 0.45

Tested by

no test coverage detected