$k. AbstractNetClient

new AbstractNetClient()

Methods

authenticate(username, password)

Set the username and password

Parameters:
NameTypeDescription
usernamestring
passwordstring
Since
  • 4.0.3

authenticateFromEncrypedAccount(encryptedAccount)

Set the username and password from a volume encrypted authenication string

Parameters:
NameTypeDescription
encryptedAccountstring

Encrypted account (Base64 encoded string generated in the Admin-Tool)

Since
  • 5.2.1

setTimeout(timeout)

Set the timeout in milliseconds for connection to wait for reponses

Parameters:
NameTypeDescription
timeoutnumber

number of milliseconds to wait for reponses, default 20000

Since
  • 4.2.0