ChatClientConfig

constructor(apiKey: String, httpUrl: String, cdnHttpUrl: String, wssUrl: String, warmUp: Boolean, loggerConfig: ChatLoggerConfig, distinctApiCalls: Boolean = true, debugRequests: Boolean, notificationConfig: NotificationConfig)

Parameters

apiKey

The API key of your Stream Chat app obtained from the Stream Dashboard.

httpUrl

The base URL to be used by the client.

cdnHttpUrl

The base CDN URL to be used by the client.

wssUrl

The base WebSocket URL to be used by the client.

warmUp

Controls the connection warm-up behavior.

loggerConfig

A logging config to be used by the client.

distinctApiCalls

Controls whether DistinctChatApi is enabled or not.

debugRequests

Controls whether requests can be recorded or not.

notificationConfig

A notification config to be used by the client.