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

Method Request

library/cpp/par/par_network.cpp:387–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 ReceiverThread->Join();
386 }
387 TAutoPtr<TNetworkResponse> Request(const TNetworkAddress& address, const TString& url, TVector<char>* data) override {
388 QuickLZCompress(data);
389 TAutoPtr<NNetliba_v12::TUdpHttpResponse> answer = Requester->Request(address.GetNetlibaAddr(), url, data);
390 TAutoPtr<TNetworkResponse> resp = new TNetworkResponse;
391 ProcessUdpHttpResponse(answer, resp);
392 return resp;
393 }
394
395 void SendRequest(const TGUID& guid, const TNetworkAddress& address, const TString& url, TVector<char>* data) override {
396 QuickLZCompress(data);

Callers

nothing calls this directly

Calls 2

QuickLZCompressFunction · 0.85
RequestMethod · 0.45

Tested by

no test coverage detected