Environment

interface Environment

Current SDK environment providing backend (remote) configuration. This can differ from region to region and permits connecting to your own running copy of the service.

Properties

Link copied to clipboard
abstract val baseUrl: String

Url used for fetching base configuration, such as: multi/single thread, auth.

Link copied to clipboard
abstract val chatUrl: String

Chat sub-url. Usually defined as /chat suffix to baseUrl

Link copied to clipboard
abstract val location: String

Physical location of the environment that we'll connect to.

Link copied to clipboard
abstract val name: String

Name of the environment. It's defined only for semantic reasons.

Link copied to clipboard
abstract val originHeader: String

Origin header required for live chat.

Link copied to clipboard
abstract val socketUrl: String

Socket url used for chat communication.