client icon indicating copy to clipboard operation
client copied to clipboard

[Feature Request] Add gzip compression options for Java client send/receive

Open math-hiyoko opened this issue 4 months ago • 0 comments

Please add support for optional gzip compression on both request payloads (send) and response payloads (receive) in the Java API, similar to what is already available in the Python and C++ clients.

example

InferArguments inferArg = new InferArguments(model_name, inputs, outputs);
inferArg.setRequestCompressionAlgorithm("gzip");
inferArg.setResponseCompressionAlgorithm("gzip");
InferResult result = client.infer(inferArg);

math-hiyoko avatar Aug 05 '25 06:08 math-hiyoko