LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Interface IDataSourceUpdatesHeaders

    This interface is to allow extending init without a major version. This interface should be removed in the next major version of the SDK and headers should be added in the IDataStore interface.

    Namespace: LaunchDarkly.Sdk.Server.Subsystems
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public interface IDataSourceUpdatesHeaders

    Methods

    | Edit this page View Source

    InitWithHeaders(FullDataSet<ItemDescriptor>, IEnumerable<KeyValuePair<string, IEnumerable<string>>>)

    Completely overwrites the current contents of the data store with a set of items for each collection.

    Declaration
    bool InitWithHeaders(DataStoreTypes.FullDataSet<DataStoreTypes.ItemDescriptor> allData, IEnumerable<KeyValuePair<string, IEnumerable<string>>> headers)
    Parameters
    Type Name Description
    DataStoreTypes.FullDataSet<DataStoreTypes.ItemDescriptor> allData

    a list of DataStoreTypes.DataKind instances and their corresponding data sets

    IEnumerable<KeyValuePair<string, IEnumerable<string>>> headers

    response headers for the connection

    Returns
    Type Description
    bool

    true if the update succeeded, false if it failed

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX