GRPC C++  1.39.1
Data Fields
grpc_core::LoadBalancingPolicy::PickArgs Struct Reference

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

#include <lb_policy.h>

Data Fields

absl::string_view path
 The path of the call. Indicates the RPC service and method name. More...
 
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 memory 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.

◆ path

absl::string_view grpc_core::LoadBalancingPolicy::PickArgs::path

The path of the call. Indicates the RPC service and method name.


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