#include <grpc/impl/codegen/port_platform.h>

Go to the source code of this file.
Classes | |
| struct | grpc_compression_options |
| struct | grpc_compression_options::grpc_compression_options_default_algorithm |
| struct | grpc_compression_options::grpc_compression_options_default_level |
Macros | |
| #define | GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM "grpc.default_compression_algorithm" |
| #define | GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL "grpc.default_compression_level" |
| #define | GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET "grpc.compression_enabled_algorithms_bitset" |
| #define | GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY "grpc-internal-encoding-request" |
Typedefs | |
| typedef struct grpc_compression_options | grpc_compression_options |
| #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
Definition at line 33 of file compression_types.h.
| typedef struct grpc_compression_options grpc_compression_options |
The various compression algorithms supported by gRPC (not sorted by compression level)
| Enumerator | |
|---|---|
| GRPC_COMPRESS_NONE | |
| GRPC_COMPRESS_DEFLATE | |
| GRPC_COMPRESS_GZIP | |
| GRPC_COMPRESS_ALGORITHMS_COUNT | |
Definition at line 60 of file compression_types.h.
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 | |
Definition at line 72 of file compression_types.h.