pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
        self.send_compression_encodings.enable(encoding);
        self
    }
Enable sending compressed responses.

Requires the client to also support receiving compressed responses.

# Example

The most common way of using this is through a server generated by tonic-build:

```rust
# enum CompressionEncoding { Gzip }
# struct Svc;
# struct ExampleServer<T>(T);
# impl<T> ExampleServer<T> {
#     fn new(svc: T) -> Self { Self(svc) }
#     fn send_compressed(self, _: CompressionEncoding) -> Self { self }
# }
# #[tonic::async_trait]
# trait Example {}

#[tonic::async_trait]
impl Example for Svc {
// ...
}

let service = ExampleServer::new(Svc).send_compressed(CompressionEncoding::Gzip);
```
tonic/src/server/grpc.rs