ConfigCatOptions

Configuration options for ConfigCatClient.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The base ConfigCat CDN url.

Link copied to clipboard

The cache implementation used to cache the downloaded configurations.

Link copied to clipboard

Default: DataGovernance.GLOBAL. Set this parameter to be in sync with the Data Governance preference on the Dashboard. (Only Organization Admins have access)

Link copied to clipboard

The default user, used as fallback when there's no user parameter is passed to the ConfigCatClient.getValue method.

Link copied to clipboard

Feature flag and setting overrides.

Link copied to clipboard

Hooks for events fired by ConfigCatClient.

Link copied to clipboard
var httpEngine: HttpClientEngine?

The underlying Ktor HTTP engine used to fetch the latest configuration.

Link copied to clipboard
var httpProxy: ProxyConfig?

Proxy configuration for the HTTP engine.

Link copied to clipboard

The internal logger implementation. The default logger writes the messages with println.

Link copied to clipboard

Default: LogLevel.WARNING. The internal log level.

Link copied to clipboard

Indicates whether the SDK should be initialized in offline mode or not.

Link copied to clipboard

The polling mode.

Link copied to clipboard

Default: 30s. The maximum wait time for an HTTP response.