GRPC C++  1.26.0
Data Structures | Enumerations
context.h File Reference

Go to the source code of this file.

Data Structures

struct  grpc_call_context_element
 

Enumerations

enum  grpc_context_index {
  GRPC_CONTEXT_SECURITY = 0, GRPC_CONTEXT_TRACING, GRPC_CONTEXT_TRAFFIC, GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA,
  GRPC_CONTEXT_COUNT
}
 Call object context pointers. More...
 

Enumeration Type Documentation

◆ grpc_context_index

Call object context pointers.

Call context is represented as an array of grpc_call_context_elements. This enum represents the indexes into the array, where each index contains a different type of value.

Enumerator
GRPC_CONTEXT_SECURITY 

Value is either a grpc_client_security_context or a grpc_server_security_context.

GRPC_CONTEXT_TRACING 

Value is a census_context.

GRPC_CONTEXT_TRAFFIC 

Reserved for traffic_class_context.

GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA 

Holds a pointer to ServiceConfig::CallData associated with this call.

GRPC_CONTEXT_COUNT