19 #ifndef GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H
20 #define GRPC_IMPL_CODEGEN_COMPRESSION_TYPES_H
30 #define GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY \
31 "grpc-internal-encoding-request"
39 #define GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM \
40 "grpc.default_compression_algorithm"
43 #define GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL "grpc.default_compression_level"
51 #define GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET \
52 "grpc.compression_enabled_algorithms_bitset"
grpc_compression_level
Compression levels allow a party with knowledge of its peer's accepted encodings to request compressi...
Definition: compression_types.h:71
@ GRPC_COMPRESS_LEVEL_MED
Definition: compression_types.h:74
@ GRPC_COMPRESS_LEVEL_HIGH
Definition: compression_types.h:75
@ GRPC_COMPRESS_LEVEL_COUNT
Definition: compression_types.h:76
@ GRPC_COMPRESS_LEVEL_NONE
Definition: compression_types.h:72
@ GRPC_COMPRESS_LEVEL_LOW
Definition: compression_types.h:73
struct grpc_compression_options grpc_compression_options
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level)
Definition: compression_types.h:57
@ GRPC_COMPRESS_NONE
Definition: compression_types.h:58
@ GRPC_COMPRESS_STREAM_GZIP
Definition: compression_types.h:62
@ GRPC_COMPRESS_DEFLATE
Definition: compression_types.h:59
@ GRPC_COMPRESS_GZIP
Definition: compression_types.h:60
@ GRPC_COMPRESS_ALGORITHMS_COUNT
Definition: compression_types.h:64
The default message compression algorithm.
Definition: compression_types.h:98
int is_set
Definition: compression_types.h:99
grpc_compression_algorithm algorithm
Definition: compression_types.h:100
The default compression level.
Definition: compression_types.h:90
grpc_compression_level level
Definition: compression_types.h:92
int is_set
Definition: compression_types.h:91
Definition: compression_types.h:79
uint32_t enabled_algorithms_bitset
All algs are enabled by default.
Definition: compression_types.h:83
struct grpc_compression_options::grpc_compression_options_default_algorithm default_algorithm
struct grpc_compression_options::grpc_compression_options_default_level default_level