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

Method EnableCompression

library/cpp/http/io/stream.cpp:909–916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907}
908
909void THttpOutput::EnableCompression(bool enable) {
910 if (enable) {
911 EnableCompression(TCompressionCodecFactory::Instance().GetBestCodecs());
912 } else {
913 TArrayRef<TStringBuf> codings;
914 EnableCompression(codings);
915 }
916}
917
918void THttpOutput::EnableCompression(TArrayRef<const TStringBuf> schemas) {
919 Impl_->EnableCompression(schemas);

Callers 6

Y_UNIT_TESTFunction · 0.45
SendMinimalHttpRequestFunction · 0.45
Y_UNIT_TESTFunction · 0.45
MakeHttpOutputBodyFunction · 0.45
DoTestHttpOutputSizeFunction · 0.45
ProcessMethod · 0.45

Calls 2

InstanceFunction · 0.85
GetBestCodecsMethod · 0.80

Tested by

no test coverage detected