updateOptions()
This function is used to update XP Client options.
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
clientOptions | NewClientOptions | ✅ | The options to update. |
Returns
void
Throws
XpFatal
- if invalid parameters are provided, or invalid database connection is provided.
[JS] Example
const {updateOptions} = require('simply-xp');
updateOptions({xp_rate: "fast"}) // Returns void