MCPcopy Create free account
hub / github.com/catboost/catboost / ScheduleRequest

Method ScheduleRequest

library/cpp/neh/http2.cpp:1983–1992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1981 }
1982
1983 THandleRef ScheduleRequest(const TMessage& msg, IOnRecv* fallback, TServiceStatRef& ss) override {
1984 THttpRequest::THandleRef ret(new THttpRequest::THandle(fallback, msg, !ss ? nullptr : new TStatCollector(ss)));
1985 try {
1986 THttpRequest::Run(ret, msg, &T::Build, T::RequestSettings());
1987 } catch (...) {
1988 ret->ResetOnRecv();
1989 throw;
1990 }
1991 return ret.Get();
1992 }
1993
1994 TStringBuf Scheme() const noexcept override {
1995 return T::Name();

Callers

nothing calls this directly

Calls 3

ResetOnRecvMethod · 0.80
RunFunction · 0.50
GetMethod · 0.45

Tested by

no test coverage detected