client
client copied to clipboard
[Feature Request] Add gzip compression options for Java client send/receive
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);