A C++ wrapper for the grpc_metadata_batch
struct.
More...
#include <channel_filter.h>
A C++ wrapper for the grpc_metadata_batch
struct.
◆ MetadataBatch()
Borrows a pointer to batch, but does NOT take ownership.
The caller must ensure that batch continues to exist for as long as the MetadataBatch object does.
◆ AddMetadata()
grpc_linked_mdelem * grpc::MetadataBatch::AddMetadata |
( |
const string & |
key, |
|
|
const string & |
value |
|
) |
| |
Adds metadata and returns the newly allocated storage.
The caller takes ownership of the result, which must exist for the lifetime of the gRPC call.
◆ batch()
◆ begin()
◆ end()
The documentation for this class was generated from the following files: