Unfortunately that issue is only about Java. I need to have the same
feature available in Python but I could not find an equivalent (or similar)
API for Python.

On Fri, May 25, 2018, 04:55 Mahesh Kanote <[email protected]> wrote:

> You can check https://github.com/grpc/grpc-java/issues/2196
>
>
> https://github.com/grpc/grpc-java/blob/master/core/src/main/java/io/grpc/internal/ServerCallImpl.java#L85
>
> On Fri, 25 May 2018, 00:57 , <[email protected]> wrote:
>
>> Ihave a gRPC client (in Java) sending requests to a server (written in
>> Python). I need to enable both request compression and response
>> compression. There is good documentation
>> <https://github.com/grpc/grpc-java/issues/2204> on how to enable
>> compression on the client side. I have managed to compress the request like
>> so:
>>
>>  response = blockingStub.withCompression("gzip").method(request)
>>
>> However, I cannot find any documentation on how to compress the server
>> response (also). It seems that there is almost no documentation (or
>> examples) on how to use gRPC message compression in Python. How can I
>> enable server-side compression? The call is a simple RPC call (no
>> streaming).
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/grpc-io/6d8bce58-90aa-43e4-ad9b-2955fa247460%40googlegroups.com
>> <https://groups.google.com/d/msgid/grpc-io/6d8bce58-90aa-43e4-ad9b-2955fa247460%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAPvK%2BZ%2BtOe3wizvsnj7_fURGBh4MpAs3KGqr0NTGtsyFEMy_bQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to