Utilities to work with the request metadata.
Definition in file metadata_utils.hpp.
Go to the source code of this file.
#include <map>#include <string_view>#include <utility>#include <grpcpp/support/string_ref.h>#include <boost/range/adaptor/map.hpp>#include <boost/range/adaptor/transformed.hpp>#include <userver/ugrpc/server/call_context.hpp>#include <userver/utils/assert.hpp>#include <userver/utils/text.hpp>Namespaces | |
| namespace | ugrpc |
| Asynchronous gRPC driver. | |
| namespace | ugrpc::server |
| Server-side utilities. | |
Functions | |
| auto | ugrpc::server::GetRepeatedMetadata (CallContextBase &context, std::string_view field_name) |
| Returns an std::input_range containing std::string_view which are non-owning references to the values of the metadata field. The references must not outlive the call object to avoid undefined behavior. | |