3 #include <launchdarkly/config/shared/built/data_source_config.hpp>
4 #include <launchdarkly/config/shared/defaults.hpp>
5 #include <launchdarkly/config/shared/sdks.hpp>
11 namespace launchdarkly::config::shared::builders {
16 template <
typename SDK>
28 template <
typename SDK>
46 std::chrono::milliseconds initial_reconnect_delay);
65 template <
typename T = SDK>
67 std::string filter_key) {
68 config_.filter_key = std::move(filter_key);
85 template <
typename SDK>
115 template <
typename T = SDK>
117 std::string filter_key) {
118 config_.filter_key = std::move(filter_key);
200 std::variant<Streaming, Polling> method_;
DataSourceBuilder & Method(Streaming stream_builder)
DataSourceBuilder & Method(Polling polling_builder)
Definition: data_source_builder.hpp:17
Definition: data_source_builder.hpp:86
PollingBuilder & PollInterval(std::chrono::seconds poll_interval)
Definition: data_source_builder.cpp:44
std::enable_if_t< is_server_sdk< T >::value, PollingBuilder & > Filter(std::string filter_key)
Definition: data_source_builder.hpp:116
built::PollingConfig< SDK > Build() const
Definition: data_source_builder.cpp:51
Definition: data_source_builder.hpp:29
std::enable_if_t< is_server_sdk< T >::value, StreamingBuilder & > Filter(std::string filter_key)
Definition: data_source_builder.hpp:66
StreamingBuilder & InitialReconnectDelay(std::chrono::milliseconds initial_reconnect_delay)
Definition: data_source_builder.cpp:28
built::StreamingConfig< SDK > Build() const
Definition: data_source_builder.cpp:35
Definition: data_source_builder.hpp:20
Definition: data_source_config.hpp:58
Definition: data_source_config.hpp:36
Definition: data_source_config.hpp:13