C++ Client-Side SDK
LaunchDarkly SDK
Loading...
Searching...
No Matches
service_endpoints.hpp
1#pragma once
2
3#include <string>
4
5namespace launchdarkly::config::shared::built {
6
11class ServiceEndpoints final {
12 public:
25 ServiceEndpoints(std::string polling,
26 std::string streaming,
27 std::string events);
32 [[nodiscard]] std::string const& PollingBaseUrl() const;
37 [[nodiscard]] std::string const& StreamingBaseUrl() const;
42 [[nodiscard]] std::string const& EventsBaseUrl() const;
43
44 private:
45 std::string polling_base_url_;
46 std::string streaming_base_url_;
47 std::string events_base_url_;
48};
49
50bool operator==(ServiceEndpoints const& lhs, ServiceEndpoints const& rhs);
51} // namespace launchdarkly::config::shared::built
std::string const & PollingBaseUrl() const
Definition service_endpoints.cpp:12
std::string const & StreamingBaseUrl() const
Definition service_endpoints.cpp:16
std::string const & EventsBaseUrl() const
Definition service_endpoints.cpp:20