Go to the documentation of this file.
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"
Definition: compression_types.h:74
Definition: compression_types.h:59
uint32_t enabled_algorithms_bitset
All algs are enabled by default.
Definition: compression_types.h:83
grpc_compression_algorithm
The various compression algorithms supported by gRPC (not sorted by compression level)
Definition: compression_types.h:57
int is_set
Definition: compression_types.h:91
struct grpc_compression_options::grpc_compression_options_default_level default_level
grpc_compression_level level
Definition: compression_types.h:92
Definition: compression_types.h:79
Definition: compression_types.h:76
Definition: compression_types.h:58
The default message compression algorithm.
Definition: compression_types.h:98
Definition: compression_types.h:72
Definition: compression_types.h:75
struct grpc_compression_options grpc_compression_options
Definition: compression_types.h:73
struct grpc_compression_options::grpc_compression_options_default_algorithm default_algorithm
grpc_compression_level
Compression levels allow a party with knowledge of its peer's accepted encodings to request compressi...
Definition: compression_types.h:71
Definition: compression_types.h:64
int is_set
Definition: compression_types.h:99
Definition: compression_types.h:60
Definition: compression_types.h:62
The default compression level.
Definition: compression_types.h:90
grpc_compression_algorithm algorithm
Definition: compression_types.h:100