Class ChatClientConfig

    • Constructor Detail

      • ChatClientConfig

        ChatClientConfig(String apiKey, String httpUrl, String cdnHttpUrl, String wssUrl, Boolean warmUp, ChatLoggerConfig loggerConfig, Boolean distinctApiCalls, Boolean debugRequests)
        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.
      • ChatClientConfig

        ChatClientConfig(String apiKey, String httpUrl, String cdnHttpUrl, String wssUrl, Boolean warmUp, ChatLoggerConfig loggerConfig, Boolean debugRequests)
        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.
        debugRequests - Controls whether requests can be recorded or not.