C Server-Side SDK
LaunchDarkly SDK
|
|
Go to the documentation of this file.
56 struct LDConfig *
const config,
const char *
const streamURI);
68 struct LDConfig *
const config,
const char *
const eventsURI);
92 struct LDConfig *
const config,
const LDBoolean sendEvents);
104 struct LDConfig *
const config,
const unsigned int eventsCapacity);
114 struct LDConfig *
const config,
const unsigned int milliseconds);
125 struct LDConfig *
const config,
const unsigned int milliseconds);
135 struct LDConfig *
const config,
const unsigned int milliseconds);
169 struct LDConfig *
const config,
const LDBoolean allAttributesPrivate);
180 struct LDConfig *
const config,
const LDBoolean inlineUsersInEvents);
191 struct LDConfig *
const config,
const unsigned int userKeysCapacity);
202 struct LDConfig *
const config,
const unsigned int milliseconds);
214 struct LDConfig *
const config,
const char *
const attribute);
248 struct LDConfig *
const config,
const unsigned int milliseconds);
261 const char *
const wrapperName,
262 const char *
const wrapperVersion);
An opaque data source object.
void LDConfigSetUserKeysCapacity(struct LDConfig *const config, const unsigned int userKeysCapacity)
The number of user keys that the event processor can remember at an one time, so that duplicate user ...
A custom c89 boolean type.
An opaque client object.
Definition: store.h:59
Public API for data source implementation.
void LDConfigSetFeatureStoreBackend(struct LDConfig *const config, struct LDStoreInterface *const backend)
Sets the implementation of FeatureStore for holding feature flags and related data received from Laun...
void LDConfigSetUseLDD(struct LDConfig *const config, const LDBoolean useLDD)
Sets whether this client should use the LaunchDarkly Relay Proxy in daemon mode. In this mode,...
void LDConfigInlineUsersInEvents(struct LDConfig *const config, const LDBoolean inlineUsersInEvents)
Set to true if you need to see the full user details in every analytics event.
struct LDConfig * LDConfigNew(const char *const key)
Creates a new default configuration. The configuration object is intended to be modified until it is ...
void LDConfigFree(struct LDConfig *const config)
Destroy a config not associated with a client instance.
void LDConfigSetStream(struct LDConfig *const config, const LDBoolean stream)
Enables or disables real-time streaming flag updates. When set to false, an efficient caching polling...
void LDConfigSetFlushInterval(struct LDConfig *const config, const unsigned int milliseconds)
The time between flushes of the event buffer. Decreasing the flush interval means that the event buff...
LDBoolean LDConfigSetStreamURI(struct LDConfig *const config, const char *const streamURI)
Set the streaming URI for connecting to LaunchDarkly. You probably don't need to set this unless inst...
void LDConfigSetPollInterval(struct LDConfig *const config, const unsigned int milliseconds)
The polling interval (when streaming is disabled).
void LDConfigSetAllAttributesPrivate(struct LDConfig *const config, const LDBoolean allAttributesPrivate)
Sets whether or not all user attributes (other than the key) should be hidden from LaunchDarkly....
LDBoolean LDConfigAddPrivateAttribute(struct LDConfig *const config, const char *const attribute)
Marks a set of user attribute names private. Any users sent to LaunchDarkly with this configuration a...
Public API for Store implementations.
void LDConfigSetOffline(struct LDConfig *const config, const LDBoolean offline)
Sets whether this client is offline. An offline client will not make any network connections to Launc...
LDBoolean LDConfigSetEventsURI(struct LDConfig *const config, const char *const eventsURI)
Set the events URI for connecting to LaunchDarkly. You probably don't need to set this unless instruc...
#define LD_EXPORT(x)
Used to ensure only intended symbols are exported in the binaries.
Definition: export.h:10
LDBoolean LDConfigSetWrapperInfo(struct LDConfig *const config, const char *const wrapperName, const char *const wrapperVersion)
Indicates to LaunchDarkly the name and version of an SDK wrapper library. If wrapperVersion is set wr...
void LDConfigSetSendEvents(struct LDConfig *const config, const LDBoolean sendEvents)
Sets whether to send analytics events back to LaunchDarkly. By default, the client will send events....
void LDConfigSetTimeout(struct LDConfig *const config, const unsigned int milliseconds)
The connection timeout to use when making requests to LaunchDarkly.
void LDConfigSetDataSource(struct LDConfig *const config, struct LDDataSource *const dataSource)
Sets the implementation of the data source.
void LDConfigSetFeatureStoreBackendCacheTTL(struct LDConfig *const config, const unsigned int milliseconds)
When a feature store backend is provided, configure how long items will be cached in memory....
LDBoolean LDConfigSetBaseURI(struct LDConfig *const config, const char *const baseURI)
Set the base URI for connecting to LaunchDarkly. You probably don't need to set this unless instructe...
void LDConfigSetEventsCapacity(struct LDConfig *const config, const unsigned int eventsCapacity)
The capacity of the events buffer. The client buffers up to this many events in memory before flushin...
void LDConfigSetUserKeysFlushInterval(struct LDConfig *const config, const unsigned int milliseconds)
The interval at which the event processor will reset its set of known user keys.
Public. Configuration of exported symbols.