Classes | Namespaces | Enumerations
core/lib/channel/context.h File Reference
#include <grpc/support/port_platform.h>
#include "src/core/lib/promise/context.h"
Include dependency graph for core/lib/channel/context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  grpc_core::ContextType< grpc_call_context_element >
 
struct  grpc_call_context_element
 

Namespaces

 grpc_core
 

Enumerations

enum  grpc_context_index {
  GRPC_CONTEXT_SECURITY = 0, GRPC_CONTEXT_TRACING, GRPC_CONTEXT_CALL_TRACER, 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_CALL_TRACER 

Value is a CallTracer object.

GRPC_CONTEXT_TRAFFIC 

Reserved for traffic_class_context.

GRPC_CONTEXT_SERVICE_CONFIG_CALL_DATA 

Holds a pointer to ServiceConfigCallData associated with this call.

GRPC_CONTEXT_COUNT 

Definition at line 31 of file core/lib/channel/context.h.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:08