Go to the documentation of this file.
17 #ifndef GRPC_CORE_LIB_SERVICE_CONFIG_SERVICE_CONFIG_IMPL_H
18 #define GRPC_CORE_LIB_SERVICE_CONFIG_SERVICE_CONFIG_IMPL_H
26 #include <unordered_map>
29 #include "absl/strings/string_view.h"
86 size_t index)
override {
111 std::vector<std::unique_ptr<ServiceConfigParser::ParsedConfig>>
124 std::vector<std::unique_ptr<ServiceConfigParser::ParsedConfigVector>>
const ServiceConfigParser::ParsedConfigVector * GetMethodParsedConfigVector(const grpc_slice &path) const override
#define GPR_DEBUG_ASSERT(x)
grpc_error_handle ParsePerMethodParams(const grpc_channel_args *args)
std::vector< std::unique_ptr< ParsedConfig > > ParsedConfigVector
struct grpc_slice grpc_slice
const ServiceConfigParser::ParsedConfigVector * default_method_config_vector_
JSON (JavaScript Object Notation).
absl::string_view json_string() const override
std::vector< std::unique_ptr< ServiceConfigParser::ParsedConfig > > parsed_global_configs_
static RefCountedPtr< ServiceConfig > Create(const grpc_channel_args *args, absl::string_view json_string, grpc_error_handle *error)
std::vector< std::unique_ptr< ServiceConfigParser::ParsedConfigVector > > parsed_method_config_vectors_storage_
std::unordered_map< grpc_slice, const ServiceConfigParser::ParsedConfigVector *, SliceHash > parsed_method_configs_map_
~ServiceConfigImpl() override
static std::string ParseJsonMethodName(const Json &json, grpc_error_handle *error)
ServiceConfigParser::ParsedConfig * GetGlobalParsedConfig(size_t index) override
ServiceConfigImpl(const grpc_channel_args *args, std::string json_string, Json json, grpc_error_handle *error)
grpc_error_handle ParseJsonMethodConfig(const grpc_channel_args *args, const Json &json)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:17