Skip to content

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

@math-hiyoko

Description

@math-hiyoko

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions