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

Method request

lib/cpp/src/thrift/async/TEvhttpServer.cpp:102–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void TEvhttpServer::request(struct evhttp_request* req, void* self) {
103 try {
104 static_cast<TEvhttpServer*>(self)->process(req);
105 } catch (std::exception& e) {
106 evhttp_send_reply(req, HTTP_INTERNAL, e.what(), nullptr);
107 }
108}
109
110void TEvhttpServer::process(struct evhttp_request* req) {
111 auto* ctx = new RequestContext(req);

Callers 2

http_connection.jsFile · 0.80
ohos_connection.jsFile · 0.80

Calls 2

processMethod · 0.65
whatMethod · 0.45

Tested by

no test coverage detected