GRPC C++  1.39.1
Public Member Functions
grpc_core::ClientChannel::LoadBalancedCall::Metadata Class Reference

Public Member Functions

 Metadata (LoadBalancedCall *lb_call, grpc_metadata_batch *batch)
 
void Add (absl::string_view key, absl::string_view value) override
 Adds a key/value pair. More...
 
iterator begin () const override
 Iteration interface. More...
 
iterator end () const override
 
iterator erase (iterator it) override
 Removes the element pointed to by it. More...
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ Metadata()

grpc_core::ClientChannel::LoadBalancedCall::Metadata::Metadata ( LoadBalancedCall lb_call,
grpc_metadata_batch batch 
)
inline

Member Function Documentation

◆ Add()

void grpc_core::ClientChannel::LoadBalancedCall::Metadata::Add ( absl::string_view  key,
absl::string_view  value 
)
inlineoverridevirtual

Adds a key/value pair.

Does NOT take ownership of key or value. Implementations must ensure that the key and value remain alive until the call ends. If desired, they may be allocated via CallState::Alloc().

Implements grpc_core::LoadBalancingPolicy::MetadataInterface.

◆ begin()

iterator grpc_core::ClientChannel::LoadBalancedCall::Metadata::begin ( ) const
inlineoverridevirtual

Iteration interface.

Implements grpc_core::LoadBalancingPolicy::MetadataInterface.

◆ end()

iterator grpc_core::ClientChannel::LoadBalancedCall::Metadata::end ( ) const
inlineoverridevirtual

◆ erase()

iterator grpc_core::ClientChannel::LoadBalancedCall::Metadata::erase ( iterator  it)
inlineoverridevirtual

Removes the element pointed to by it.

Returns an iterator pointing to the next element.

Implements grpc_core::LoadBalancingPolicy::MetadataInterface.


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