◆ ConfigBuilder()
launchdarkly::server_side::ConfigBuilder::ConfigBuilder |
( |
std::string |
sdk_key | ) |
|
|
explicit |
A minimal configuration consists of a LaunchDarkly SDK Key.
- Parameters
-
◆ AppInfo()
To include metadata about the application that is utilizing the SDK, pass in an AppInfoBuilder.
- Parameters
-
builder | An AppInfoBuilder. |
- Returns
- Reference to an AppInfoBuilder.
◆ Build()
tl::expected< Config, Error > launchdarkly::server_side::ConfigBuilder::Build |
( |
| ) |
const |
Builds a Configuration, suitable for passing into an instance of Client.
- Returns
◆ DataSystem()
Sets the configuration of the component that receives and stores feature flag data from LaunchDarkly.
- Parameters
-
builder | A DataSystemBuilder. |
- Returns
- Reference to a DataSystemBuilder.
◆ Events()
To tune settings related to event generation and delivery, pass an EventsBuilder.
- Parameters
-
- Returns
- Reference to an EventsBuilder.
◆ HttpProperties()
Sets the SDK's networking configuration, using an HttpPropertiesBuilder. The builder has methods for setting individual HTTP-related properties.
- Parameters
-
builder | A HttpPropertiesBuilder builder. |
- Returns
- Reference to an HttpPropertiesBuilder.
◆ Logging()
Sets the logging configuration for the SDK.
- Parameters
-
builder | A Logging builder. |
- Returns
- Reference to a LoggingBuilder.
◆ Offline()
ConfigBuilder & launchdarkly::server_side::ConfigBuilder::Offline |
( |
bool |
offline | ) |
|
If true, equivalent to setting Events().Disable() and DataSystem().Disable(). The effect is that all evaluations will return application-provided default values, and no network calls will be made.
This overrides specific configuration of events and/or data system, if present.
- Returns
- Reference to this.
◆ ServiceEndpoints()
To customize the ServiceEndpoints the SDK uses for streaming, polling, and events, pass in an EndpointsBuilder.
- Parameters
-
builder | An EndpointsBuilder. |
- Returns
- Reference to an EndpointsBuilder.
The documentation for this class was generated from the following files: