compression

Available in a dev version: 0․11․0-grpc-186

How to configure

The compression algorithm to use for encoding outgoing messages in this call.

When set to a value other than GrpcCompression.None, the client will compress request messages using the specified algorithm before sending them to the server. The chosen compression algorithm is communicated to the server via the grpc-encoding header.

Default Behavior

Defaults to GrpcCompression.None, meaning no compression is applied to messages.

Server Compatibility

Important: It is the caller's responsibility to ensure the server supports the chosen compression algorithm. There is no automatic negotiation performed. If the server does not support the requested compression, the call will fail.

Available Algorithms

See also