ChatClientConfig

class ChatClientConfig @JvmOverloads constructor(val apiKey: String, var httpUrl: String, var cdnHttpUrl: String, var wssUrl: String, val warmUp: Boolean, val loggerConfig: ChatLoggerConfig, var distinctApiCalls: Boolean = true, val debugRequests: Boolean, val notificationConfig: NotificationConfig)

A config to setup the ChatClient behavior.

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.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard