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

Method Create

library/cpp/neh/http2.cpp:1517–1522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1515
1516 public:
1517 static void Create(THttpServer& hs, const TTcpSocketRef& s) {
1518 TSharedPtrB<TConn> conn(new TConn(hs, s));
1519 conn->WeakThis_ = conn;
1520 conn->ExpectNewRequest();
1521 conn->AS_->AsyncPollRead(std::bind(&TConn::OnCanRead, conn, _1, _2), THttp2Options::ServerInputDeadline);
1522 }
1523
1524 ~TConn() {
1525 DBGOUT("~THttpServer::TConn(" << (!AS_ ? -666 : AS_->Native()) << ")");

Callers

nothing calls this directly

Calls 2

ExpectNewRequestMethod · 0.80
AsyncPollReadMethod · 0.80

Tested by

no test coverage detected