A C++ wrapper for the grpc_metadata_batch
struct.
More...
#include <channel_filter.h>
Public Member Functions | |
void | AddMetadata (const string &key, const string &value) |
Adds metadata. More... | |
grpc_metadata_batch * | batch () const |
MetadataBatch (grpc_metadata_batch *batch) | |
Private Attributes | |
grpc_metadata_batch * | batch_ |
A C++ wrapper for the grpc_metadata_batch
struct.
Definition at line 60 of file common/channel_filter.h.
|
inlineexplicit |
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.
Definition at line 65 of file common/channel_filter.h.
Adds metadata.
Definition at line 37 of file common/channel_filter.cc.
|
inline |
Definition at line 67 of file common/channel_filter.h.
|
private |
Definition at line 73 of file common/channel_filter.h.