new PostDataStore(options)
Name |
Type |
Description |
options |
|
the options used in super class XOpatStorage.Data
Properties
Name |
Type |
Description |
xoType |
|
type of the owner |
|
- Source:
Extends
Methods
(async) delete(key, key)
Name |
Type |
Description |
key |
string
|
|
key |
|
|
- Overrides:
- Source:
(async) export() → {Promise.<string>}
The ability to export all relevant data is used mainly with current session exports/shares.
This is used for immediate static export of the current state.
- Source:
serialized data
Type
Promise.<string>
(async) get(key, defaultValue) → {Promise.<(*|undefined)>}
Name |
Type |
Description |
key |
any
|
|
defaultValue |
any
|
returned only in case undefined would be returned |
- Overrides:
- Source:
value to store, or undefined in the default value is missing
Type
Promise.<(*|undefined)>
(async) set(key, value)
Name |
Type |
Description |
key |
string
|
|
value |
string
|
|
- Overrides:
- Source:
Promise
(static) register(Class)
Name |
Type |
Description |
Class |
|
ignored argument, this class hardcodes POST DATA 'driver' |
- Source: