diff options
Diffstat (limited to 'src/core/surface/call.h')
-rw-r--r-- | src/core/surface/call.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/surface/call.h b/src/core/surface/call.h index d7202f4f1d..5641561f85 100644 --- a/src/core/surface/call.h +++ b/src/core/surface/call.h @@ -169,6 +169,12 @@ grpc_compression_algorithm grpc_call_get_compression_algorithm( gpr_uint32 grpc_call_get_message_flags(const grpc_call *call); +/** Returns a bitset for the encodings (compression algorithms) supported by \a + * call's peer. + * + * To be indexed by grpc_compression_algorithm enum values. */ +gpr_uint32 grpc_call_get_encodings_accepted_by_peer(grpc_call *call); + #ifdef __cplusplus } #endif |