ServerCallOptions

sealed abstract class ServerCallOptions
Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

Enables per-message compression. If no message encoding has been negotiated, this is a no-op. By default per-message compression is enabled, but may not have any effect if compression is not enabled on the call.

Enables per-message compression. If no message encoding has been negotiated, this is a no-op. By default per-message compression is enabled, but may not have any effect if compression is not enabled on the call.

Sets the compression algorithm for a call. Default gRPC servers support the "gzip" compressor.

Sets the compression algorithm for a call. Default gRPC servers support the "gzip" compressor.