Click or drag to resize

IConfigurationBuilder Interface

A mutable object that uses the Builder pattern to specify properties for a Configuration object.

Namespace:  LaunchDarkly.Client
Assembly:  LaunchDarkly.ServerSdk (in LaunchDarkly.ServerSdk.dll) Version: 5.14.0
Syntax
public interface IConfigurationBuilder

The IConfigurationBuilder type exposes the following members.

Methods
  NameDescription
Public methodAllAttributesPrivate Obsolete.
Obsolete method for setting whether or not all user attributes should be private.
Public methodBaseUri Obsolete.
Obsolete method for setting the base URI for the polling service.
Public methodBuild
Creates a Configuration based on the properties that have been set on the builder. Modifying the builder after this point does not affect the returned Configuration.
Public methodDataSource
Sets the implementation of the component that receives feature flag data from LaunchDarkly, using a factory object.
Public methodDataStore
Sets the data store implementation to be used for holding feature flags and related data received from LaunchDarkly.
Public methodDiagnosticOptOut
Set to true to opt out of sending diagnostic events.
Public methodDiagnosticRecordingInterval Obsolete.
Obsolete method for setting the interval at which periodic diagnostic events will be sent.
Public methodEventCapacity Obsolete.
Obsolete method for setting the capacity of the events buffer.
Public methodEventFlushInterval Obsolete.
Obsolete method for setting the time between flushes of the event buffer.
Public methodEventProcessorFactory Obsolete.
Obsolete name for Events(IEventProcessorFactory).
Public methodEvents
Sets the implementation of the component that processes analytics events.
Public methodEventsUri Obsolete.
Obsolete method to set the base URL of the LaunchDarkly analytics event server.
Public methodFeatureStoreFactory Obsolete.
Obsolete name for DataStore(IFeatureStoreFactory).
Public methodHttp
Sets the SDK's networking configuration, using a factory object. This object is normally a configuration builder obtained from HttpConfiguration, which has methods for setting individual HTTP-related properties.
Public methodHttpClientHandler Obsolete.
Obsolete method for setting the object to be used for sending HTTP requests.
Public methodHttpClientTimeout Obsolete.
Obsolete method for setting the connection timeout.
Public methodInlineUsersInEvents Obsolete.
Obsolete method for setting whether to include full user details in every analytics event.
Public methodIsStreamingEnabled Obsolete.
Obsolete method for enabling or disabling streaming mode.
Public methodOffline
Sets whether or not this client is offline. If true, no calls to Launchdarkly will be made.
Public methodPollingInterval Obsolete.
Obsolete method for setting the polling interval in polling mode.
Public methodPrivateAttribute Obsolete.
Obsolete method for marking an attribute name as private.
Public methodReadTimeout Obsolete.
Obsolete method for setting the timeout when reading data from the streaming connection.
Public methodReconnectTime Obsolete.
Obsolete method for setting the initial reconnect delay for the streaming connection.
Public methodSdkKey
Sets the SDK key for your LaunchDarkly environment.
Public methodStartWaitTime
Sets how long the client constructor will block awaiting a successful connection to LaunchDarkly.
Public methodStreamUri Obsolete.
Obsolete method for setting the base URI for the streaming service.
Public methodUpdateProcessorFactory Obsolete.
Public methodUseLdd Obsolete.
Obsolete method for setting whether this client should use the LaunchDarkly relay in daemon mode, instead of subscribing to the streaming or polling API.
Public methodUserKeysCapacity Obsolete.
Obsolete method for setting the number of user keys that the event processor can remember at any one time.
Public methodUserKeysFlushInterval Obsolete.
Obsolete method for setting the interval at which the event processor will clear its cache of known user keys.
Public methodWrapperName Obsolete.
Obsolete method for identifying a wrapper library.
Public methodWrapperVersion Obsolete.
Obsolete method for identifying a wrapper library.
Top
Remarks
Obtain an instance of this class by calling Builder(String). All of the builder methods for setting a configuration property return a reference to the same builder, so they can be chained together.
Examples
var config = Configuration.Builder("my-sdk-key")
    .AllAttributesPrivate(true)
    .EventCapacity(1000)
    .Build();
See Also