MCPcopy Create free account
hub / github.com/grpc/grpc-java / setMessageCompression

Method setMessageCompression

api/src/main/java/io/grpc/ServerCall.java:194–196  ·  view source on GitHub ↗

Enables per-message compression, if an encoding type has been negotiated. 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.

(boolean enabled)

Source from the content-addressed store, hash-verified

192 * but may not have any effect if compression is not enabled on the call.
193 */
194 public void setMessageCompression(boolean enabled) {
195 // noop
196 }
197
198 /**
199 * Sets the compression algorithm for this call. This compression is utilized for sending. If

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected