Class

CSDSCache

CSDSCache()

CSDS cache

Constructor

# new CSDSCache()

View Source services/csds-cache.js, line 7

Methods

# async lookup(accountId, serviceName) → {Promise.<string>}

Returns the hostname for a given service for a specific account.

Parameters:
Name Type Description
accountId string
serviceName string

A token representing a Liveperson service, for a complete list see CSDS.ServiceName

View Source services/csds-cache.js, line 30

the hostname of the specified service for this account

Promise.<string>