endpoint_config.h
Go to the documentation of this file.
1 // Copyright 2021 The gRPC Authors
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 #ifndef GRPC_EVENT_ENGINE_ENDPOINT_CONFIG_H
15 #define GRPC_EVENT_ENGINE_ENDPOINT_CONFIG_H
16 
18 
19 #include <string>
20 
21 #include "absl/strings/string_view.h"
22 #include "absl/types/variant.h"
23 
24 namespace grpc_event_engine {
25 namespace experimental {
26 
32  public:
33  virtual ~EndpointConfig() = default;
37  virtual Setting Get(absl::string_view key) const = 0;
38 };
39 
40 } // namespace experimental
41 } // namespace grpc_event_engine
42 
43 #endif // GRPC_EVENT_ENGINE_ENDPOINT_CONFIG_H
absl::string_view
Definition: abseil-cpp/absl/strings/string_view.h:167
grpc_event_engine::experimental::EndpointConfig
Definition: endpoint_config.h:31
grpc_event_engine::experimental::EndpointConfig::Get
virtual Setting Get(absl::string_view key) const =0
key
const char * key
Definition: hpack_parser_table.cc:164
grpc_event_engine
Definition: endpoint_config.h:24
grpc_event_engine::experimental::EndpointConfig::~EndpointConfig
virtual ~EndpointConfig()=default
absl::variant
Definition: abseil-cpp/absl/types/internal/variant.h:46
port_platform.h


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:15