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

Method OnCanRead

library/cpp/neh/http2.cpp:1535–1542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1533 }
1534
1535 void OnCanRead(const TErrorCode& ec, IHandlingContext& ctx) {
1536 if (ec) {
1537 OnError();
1538 } else {
1539 TErrorCode ec2;
1540 OnReadSome(ec2, AS_->ReadSome(Buff_.Get(), BuffSize_, ec2), ctx);
1541 }
1542 }
1543
1544 void OnError() {
1545 DBGOUT("Srv OnError(" << (!AS_ ? -666 : AS_->Native()) << ")");

Callers

nothing calls this directly

Calls 2

ReadSomeMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected