GRPC Core
1.0.0
|
#include <compression_types.h>
Data Fields | |
uint32_t | enabled_algorithms_bitset |
All algs are enabled by default. More... | |
struct { | |
bool is_set | |
grpc_compression_level level | |
} | default_level |
The default channel compression level. More... | |
struct { | |
bool is_set | |
grpc_compression_algorithm algorithm | |
} | default_algorithm |
The default channel compression algorithm. More... | |
grpc_compression_algorithm grpc_compression_options::algorithm |
struct { ... } grpc_compression_options::default_algorithm |
The default channel compression algorithm.
It'll be used in the absence of call specific settings. This option corresponds to the channel argument key behind GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM.
struct { ... } grpc_compression_options::default_level |
The default channel compression level.
It'll be used in the absence of call specific settings. This option corresponds to the channel argument key behind GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL. If present, takes precedence over default_algorithm. TODO(dgq): currently only available for server channels.
uint32_t grpc_compression_options::enabled_algorithms_bitset |
All algs are enabled by default.
This option corresponds to the channel argument key behind GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET
bool grpc_compression_options::is_set |
grpc_compression_level grpc_compression_options::level |