GRPC C++
1.30.0
|
#include <grpc/impl/codegen/port_platform.h>
Go to the source code of this file.
Data Structures | |
struct | grpc_compression_options |
struct | grpc_compression_options::grpc_compression_options_default_level |
The default compression level. More... | |
struct | grpc_compression_options::grpc_compression_options_default_algorithm |
The default message compression algorithm. More... | |
Macros | |
#define | GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY "grpc-internal-encoding-request" |
To be used as initial metadata key for the request of a concrete compression algorithm. More... | |
#define | GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM "grpc.default_compression_algorithm" |
Default compression algorithm for the channel. More... | |
#define | GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL "grpc.default_compression_level" |
Default compression level for the channel. More... | |
#define | GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET "grpc.compression_enabled_algorithms_bitset" |
Compression algorithms supported by the channel. More... | |
Typedefs | |
typedef struct grpc_compression_options | grpc_compression_options |
Enumerations | |
enum | grpc_compression_algorithm { GRPC_COMPRESS_NONE = 0, GRPC_COMPRESS_DEFLATE, GRPC_COMPRESS_GZIP, GRPC_COMPRESS_STREAM_GZIP, GRPC_COMPRESS_ALGORITHMS_COUNT } |
The various compression algorithms supported by gRPC (not sorted by compression level) More... | |
enum | grpc_compression_level { GRPC_COMPRESS_LEVEL_NONE = 0, GRPC_COMPRESS_LEVEL_LOW, GRPC_COMPRESS_LEVEL_MED, GRPC_COMPRESS_LEVEL_HIGH, GRPC_COMPRESS_LEVEL_COUNT } |
Compression levels allow a party with knowledge of its peer's accepted encodings to request compression in an abstract way. More... | |
#define GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY "grpc-internal-encoding-request" |
To be used as initial metadata key for the request of a concrete compression algorithm.
typedef struct grpc_compression_options grpc_compression_options |
Compression levels allow a party with knowledge of its peer's accepted encodings to request compression in an abstract way.
The level-algorithm mapping is performed internally and depends on the peer's supported compression algorithms.
Enumerator | |
---|---|
GRPC_COMPRESS_LEVEL_NONE | |
GRPC_COMPRESS_LEVEL_LOW | |
GRPC_COMPRESS_LEVEL_MED | |
GRPC_COMPRESS_LEVEL_HIGH | |
GRPC_COMPRESS_LEVEL_COUNT |