Hierarchy

  • FPConfig

Properties

clientSdkKey: string

The Client SDK Key is used to authentification.

enableAutoReporting?: boolean

Whether SDK should report pageview and click event automatically. Default value is true.

enableRealtime?: boolean

Whether SDK should use WebSocket. Default value is false.

eventsUrl?: string

The specific URL to post events, if not set, will generate from remoteUrl.

realtimePath?: string

The specific path to receive realtime events, if not set, default value will be used.

realtimeUrl?: string

The specific URL to receive realtime events, if not set, will generate from remoteUrl.

refreshInterval?: number

Milliseconds for SDK to check for update.

remoteUrl?: string

The unified URL to connect FeatureProbe Server.

timeoutInterval?: number

Milliseconds for SDK to initialize, SDK will emit an error event when milliseconds reach.

togglesUrl?: string

The specific URL to get toggles, if not set, will generate from remoteUrl.

user: FPUser

The User with attributes like name, age is used when toggle evaluation.

Generated using TypeDoc