GRPC Core  9.0.0
Functions
call_test_only.h File Reference
#include <grpc/support/port_platform.h>
#include <grpc/grpc.h>

Go to the source code of this file.

Functions

grpc_compression_algorithm grpc_call_test_only_get_compression_algorithm (grpc_call *call)
 Return the message compression algorithm from call. More...
 
uint32_t grpc_call_test_only_get_message_flags (grpc_call *call)
 Return the message flags from call. More...
 
uint32_t grpc_call_test_only_get_encodings_accepted_by_peer (grpc_call *call)
 Returns a bitset for the encodings (compression algorithms) supported by call's peer. More...
 

Function Documentation

◆ grpc_call_test_only_get_compression_algorithm()

grpc_compression_algorithm grpc_call_test_only_get_compression_algorithm ( grpc_call call)

Return the message compression algorithm from call.

Warning
This function should only be used in test code.

◆ grpc_call_test_only_get_encodings_accepted_by_peer()

uint32_t grpc_call_test_only_get_encodings_accepted_by_peer ( grpc_call call)

Returns a bitset for the encodings (compression algorithms) supported by call's peer.

To be indexed by grpc_compression_algorithm enum values.

◆ grpc_call_test_only_get_message_flags()

uint32_t grpc_call_test_only_get_message_flags ( grpc_call call)

Return the message flags from call.

Warning
This function should only be used in test code.