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

Method BestCompressionScheme

library/cpp/http/io/stream.cpp:427–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427TString THttpInput::BestCompressionScheme(TArrayRef<const TStringBuf> codings) const {
428 return NHttp::ChooseBestCompressionScheme(
429 [this](const TString& coding) {
430 return AcceptEncoding(coding);
431 },
432 codings
433 );
434}
435
436TString THttpInput::BestCompressionScheme() const {
437 return BestCompressionScheme(TCompressionCodecFactory::Instance().GetBestCodecs());

Callers 2

BuildOutputStreamMethod · 0.80
TRequestMethod · 0.80

Calls 3

InstanceFunction · 0.85
GetBestCodecsMethod · 0.80

Tested by

no test coverage detected