25 public std::enable_shared_from_this<StreamingDataSource> {
32 boost::asio::any_io_executor ioc,
36 Logger
const& logger);
38 void Start()
override;
39 void ShutdownAsync(std::function<
void()>)
override;
42 void HandleErrorStateChange(sse::Error error, std::string error_string);
45 boost::asio::any_io_executor exec_;
48 std::string streaming_endpoint_;
49 std::string string_context_;
56 Logger
const& logger_;
57 std::shared_ptr<launchdarkly::sse::Client> client_;
Definition context.hpp:29