C++ Server-Side SDK
LaunchDarkly SDK
Public Member Functions | List of all members
launchdarkly::config::shared::built::ServiceEndpoints Class Referencefinal

#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
 

Detailed Description

ServiceEndpoints contains configured ServiceEndpoints for the LaunchDarkly service or a Relay Proxy instance.

Constructor & Destructor Documentation

◆ ServiceEndpoints()

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.

Parameters
pollingPolling URL.
streamingStreaming URL.
eventsEvents URL.

Member Function Documentation

◆ EventsBaseUrl()

std::string const & launchdarkly::config::shared::built::ServiceEndpoints::EventsBaseUrl ( ) const

Returns the configured base events URL.

Returns
Base events URL.

◆ PollingBaseUrl()

std::string const & launchdarkly::config::shared::built::ServiceEndpoints::PollingBaseUrl ( ) const

Returns the configured base polling URL.

Returns
Base polling URL.

◆ StreamingBaseUrl()

std::string const & launchdarkly::config::shared::built::ServiceEndpoints::StreamingBaseUrl ( ) const

Returns the configured base streaming URL.

Returns
Base streaming URL.

The documentation for this class was generated from the following files: