6#include <grpc/impl/compression_types.h>
17 case GRPC_COMPRESS_LEVEL_NONE:
return "none";
18 case GRPC_COMPRESS_LEVEL_LOW:
return "low";
19 case GRPC_COMPRESS_LEVEL_MED:
return "medium";
20 case GRPC_COMPRESS_LEVEL_HIGH:
return "high";
21 default:
return "unknown";
72 return std::make_shared<GrpcServiceConfig>();
78 std::shared_ptr<GrpcServiceConfig>
config;
const char * CompressionLevelToString(grpc_compression_level level)
std::shared_ptr< GrpcServiceConfig > config
grpc_compression_level compression_level
bool enable_batch_streaming
bool keepalive_permit_without_calls
static std::shared_ptr< GrpcServiceConfig > CreateDefault()
std::uint64_t stream_spool_max_bytes
bool enable_design_streaming
int max_receive_message_size_mb
int design_stream_feature_batch_size
static LoadResult LoadFromFile(const std::string &configPath)
int max_send_message_size_mb
std::string stream_spool_dir