ray.serve.grpc_util.RayServegRPCContext.set_compression#

RayServegRPCContext.set_compression(compression: grpc.Compression)[source]#

Set the compression algorithm to be used for the entire call.

Parameters:

compression – An element of grpc.compression, e.g. grpc.compression.Gzip.