Public Attributes | List of all members
grpc_core::LoadBalancingPolicy::PickArgs Struct Reference

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

#include <lb_policy.h>

Public Attributes

CallStatecall_state
 
MetadataInterfaceinitial_metadata
 
absl::string_view path
 The path of the call. Indicates the RPC service and method name. More...
 

Detailed Description

Arguments used when picking a subchannel for a call.

Definition at line 141 of file lb_policy.h.

Member Data 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.

Definition at line 151 of file lb_policy.h.

◆ 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.

Definition at line 148 of file lb_policy.h.

◆ path

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

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

Definition at line 143 of file lb_policy.h.


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


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