GRPC Core  9.0.0
Data Fields
grpc_core::LoadBalancingPolicy::PickArgs Struct Reference

Arguments used when picking a subchannel for a call. More...

#include <lb_policy.h>

Data Fields

MetadataInterfaceinitial_metadata
 Initial metadata associated with the picking call. More...
 
CallStatecall_state
 An interface for accessing call state. More...
 

Detailed Description

Arguments used when picking a subchannel for a call.

Field Documentation

◆ call_state

CallState* grpc_core::LoadBalancingPolicy::PickArgs::call_state

An interface for accessing call state.

Can be used to allocate data associated with the call in an efficient way.

◆ initial_metadata

MetadataInterface* grpc_core::LoadBalancingPolicy::PickArgs::initial_metadata

Initial metadata associated with the picking call.

The LB policy may use the existing metadata to influence its routing decision, and it may add new metadata elements to be sent with the call to the chosen backend.


The documentation for this struct was generated from the following file: