Context needed to create concrete initializer/synchronizer factories for a given identify call. Built once per identify and reused across mode switches.

Hierarchy

  • SourceFactoryContext

Properties

baseHeaders: LDHeaders

Default HTTP headers.

context: Context

The context being identified.

crypto: Crypto

Platform crypto for computing storage keys.

encoding: Encoding

Platform encoding abstraction.

environmentNamespace: string

Environment namespace (hashed SDK key).

logger: LDLogger

Logger.

plainContextString: string

JSON-serialized evaluation context.

polling: {
    intervalSeconds: number;
    paths: DataSourcePaths;
}

Polling-specific configuration.

Type declaration

  • intervalSeconds: number

    Default poll interval in seconds.

  • paths: DataSourcePaths

    The polling endpoint paths.

queryParams: {
    key: string;
    value: string;
}[]

Query parameters for requests (e.g., auth, secure mode hash).

Type declaration

  • key: string
  • value: string
requestor: FDv2Requestor

The FDv2 requestor for polling requests.

requests: Requests

Platform request abstraction.

serviceEndpoints: ServiceEndpoints

Service endpoint configuration.

storage: undefined | Storage

Platform storage for reading cached data.

streaming: {
    initialReconnectDelaySeconds: number;
    paths: DataSourcePaths;
}

Streaming-specific configuration.

Type declaration

  • initialReconnectDelaySeconds: number

    Default initial reconnect delay in seconds.

  • paths: DataSourcePaths

    The streaming endpoint paths.

Generated using TypeDoc