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
GrpcCompression.None: No compression (identity encoding) - default
GrpcCompression.Gzip: GZIP compression, widely supported