Go to the documentation of this file.
19 #ifndef GRPCPP_IMPL_CODEGEN_METADATA_MAP_H
20 #define GRPCPP_IMPL_CODEGEN_METADATA_MAP_H
43 if (iter != map_.end()) {
44 return grpc::string(iter->second.begin(), iter->second.length());
52 for (
size_t i = 0; i < arr_.
count; i++) {
53 if (strncmp(reinterpret_cast<const char*>(
66 std::multimap<grpc::string_ref, grpc::string_ref>*
map() {
82 std::multimap<grpc::string_ref, grpc::string_ref> map_;
88 void Setup() { memset(&arr_, 0,
sizeof(arr_)); }
93 for (
size_t i = 0; i < arr_.
count; i++) {
95 map_.insert(std::pair<grpc::string_ref, grpc::string_ref>(
105 #endif // GRPCPP_IMPL_CODEGEN_METADATA_MAP_H
grpc::string_ref StringRefFromSlice(const grpc_slice *slice)
Definition: slice.h:120
#define GRPC_SLICE_LENGTH(slice)
Definition: slice.h:99
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
const char kBinaryErrorDetailsKey[]
Definition: metadata_map.h:31
virtual void grpc_metadata_array_destroy(grpc_metadata_array *array)=0
std::string string
Definition: config.h:35
#define GRPC_SLICE_START_PTR(slice)
Definition: slice.h:96
CoreCodegenInterface * g_core_codegen_interface
Definition: completion_queue_impl.h:93