C++ Client-Side SDK
LaunchDarkly SDK
|
#include <service_endpoints.hpp>
Public Member Functions | |
ServiceEndpoints (std::string polling, std::string streaming, std::string events) | |
std::string const & | PollingBaseUrl () const |
std::string const & | StreamingBaseUrl () const |
std::string const & | EventsBaseUrl () const |
ServiceEndpoints contains configured ServiceEndpoints for the LaunchDarkly service or a Relay Proxy instance.
launchdarkly::config::shared::built::ServiceEndpoints::ServiceEndpoints | ( | std::string | polling, |
std::string | streaming, | ||
std::string | events | ||
) |
Constructs a ServiceEndpoints from individual polling, streaming, and events URLs.
Meant for internal usage only; see ClientEndpointsBuilder or ServerEndpointsBuilder to safely construct a ServiceEndpoints with default URLs.
polling | Polling URL. |
streaming | Streaming URL. |
events | Events URL. |
std::string const & launchdarkly::config::shared::built::ServiceEndpoints::EventsBaseUrl | ( | ) | const |
Returns the configured base events URL.
std::string const & launchdarkly::config::shared::built::ServiceEndpoints::PollingBaseUrl | ( | ) | const |
Returns the configured base polling URL.
std::string const & launchdarkly::config::shared::built::ServiceEndpoints::StreamingBaseUrl | ( | ) | const |
Returns the configured base streaming URL.