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

Method setCompression

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

Sets the compression algorithm for this call. This compression is utilized for sending. If the server does not support the compression algorithm, the call will fail. This method may only be called before #sendHeaders. The compressor to use will be looked up in the {@link CompressorRegist

(String compressor)

Source from the content-addressed store, hash-verified

208 * @throws IllegalArgumentException if the compressor name can not be found.
209 */
210 public void setCompression(String compressor) {
211 // noop
212 }
213
214 /**
215 * A hint to the call that specifies how many bytes must be queued before

Callers 4

interceptCallMethod · 0.45
unaryCallMethod · 0.45
sayHelloMethod · 0.45
interceptCallMethod · 0.45

Calls

no outgoing calls

Tested by 2

interceptCallMethod · 0.36
unaryCallMethod · 0.36