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

Method SendRequestAsync

library/cpp/neh/http2.cpp:750–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748 }
749
750 void SendRequestAsync(const THttpRequestBuffersPtr& bfs) {
751 NAsio::TTcpSocket::TSendedData sd(bfs.Release());
752 AS_.AsyncWrite(sd, std::bind(&THttpConn::OnWrite, THttpConnRef(this), _1, _2, _3), THttp2Options::OutputDeadline);
753 }
754
755 void OnWrite(const TErrorCode& err, size_t amount, IHandlingContext& ctx) {
756 Y_UNUSED(amount);

Callers

nothing calls this directly

Calls 2

ReleaseMethod · 0.45
AsyncWriteMethod · 0.45

Tested by

no test coverage detected