#include <endpoint_config.h>
Public Types | |
using | Setting = absl::variant< absl::monostate, int, absl::string_view, void * > |
Public Member Functions | |
virtual Setting | Get (absl::string_view key) const =0 |
virtual | ~EndpointConfig ()=default |
Collection of parameters used to configure client and server endpoints. The EndpointConfig maps string-valued keys to values of type int, string_view, or void pointer. Each EventEngine implementation should document its set of supported configuration options.
Definition at line 31 of file endpoint_config.h.
using grpc_event_engine::experimental::EndpointConfig::Setting = absl::variant<absl::monostate, int, absl::string_view, void*> |
Definition at line 34 of file endpoint_config.h.
|
virtualdefault |
|
pure virtual |
Returns the Setting for a specified key, or absl::monostate if there is no such entry. Caller does not take ownership of the resulting value.
Implemented in grpc_event_engine::experimental::ChannelArgsEndpointConfig.