Class

Client

Client()

Constructor

# new Client()

View Source index.js, line 12

Methods

# addurl(url) → {boolean}

Parameters:
Name Type Description
url string The url to add

View Source index.js, line 197

Return's true if sucess
boolean

# alluniqueurls() → {Array}

View Source index.js, line 424

Return's the url's
Array

# allurls() → {Array}

View Source index.js, line 398

Return's the url's
Array

# clear() → {boolean}

View Source index.js, line 304

Return's true if sucess
boolean

# removeurl(url) → {boolean}

Parameters:
Name Type Description
url string The url to remove

View Source index.js, line 230

Return's true if sucess
boolean

# setinterval(interval) → {boolean}

Parameters:
Name Type Description
interval number The time to ping the url after

View Source index.js, line 330

Return's true if sucess
boolean

# async start(log, uniqueid) → {boolean}

Parameters:
Name Type Description
log boolean Whether to log the response in console or not.
uniqueid string The unique id for the dataset

View Source index.js, line 64

Return's true if sucess
boolean

# stop() → {boolean}

View Source index.js, line 363

Return's true if sucess
boolean

# stopuptime() → {boolean}

View Source index.js, line 387

Return's true if sucess
boolean

# uniqueaddurl(url, uniqueid) → {boolean}

Parameters:
Name Type Description
url string The url to add
uniqueid string The unique id for the dataset

View Source index.js, line 212

Return's true if sucess
boolean

# uniqueallurls(uniqueid) → {Array}

Parameters:
Name Type Description
uniqueid string The unique id for the dataset

View Source index.js, line 411

Return's the url's
Array

# uniqueclear(uniqueid) → {boolean}

Parameters:
Name Type Description
uniqueid string The unique id for the dataset

View Source index.js, line 316

Return's true if sucess
boolean

# uniqueremoveurl(url, uniqueid) → {boolean}

Parameters:
Name Type Description
url string The url to remove
uniqueid string The unique id for the dataset

View Source index.js, line 245

Return's true if sucess
boolean

# uniquesetinterval(interval, uniqueid) → {boolean}

Parameters:
Name Type Description
interval number The time to ping the url after
uniqueid string The unique id for the dataset

View Source index.js, line 347

Return's true if sucess
boolean

# async uniquestart(log, uniqueid) → {boolean}

Parameters:
Name Type Description
log boolean Whether to log the response in console or not.
uniqueid string The unique id for the dataset

View Source index.js, line 107

Return's true if sucess
boolean

# async uniquestartall(log) → {boolean}

Parameters:
Name Type Description
log boolean Whether to log the response in console or not.

View Source index.js, line 150

Return's true if sucess
boolean

# uniquestop(uniqueid) → {boolean}

Parameters:
Name Type Description
uniqueid string The unique id for the dataset

View Source index.js, line 375

Return's true if sucess
boolean

# async uptime(url, interval) → {boolean}

Parameters:
Name Type Description
url string The url to ping
interval number The time in ms to ping the url after

View Source index.js, line 261

Return's true if sucess
boolean