Search
Preparing search index...
The search index is not available
Streams Platform Client Api - v1.4.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Streams Platform Client Api - v1.4.0
StorageAdapter
Class StorageAdapter
Hierarchy
StorageAdapter
Implements
StorageAdapterInterface
Index
Constructors
constructor
Properties
storage
streams
Accessors
config
Methods
clear
get
has
set
unset
Constructors
constructor
new
Storage
Adapter
(
streams
:
Streams
, storage
?:
Storage
)
:
StorageAdapter
Parameters
streams:
Streams
storage:
Storage
= localStorage
Returns
StorageAdapter
Properties
Protected
storage
storage
:
Storage
= localStorage
Protected
streams
streams
:
Streams
Accessors
config
get
config
(
)
:
ETagConfiguration
Returns
ETagConfiguration
Methods
clear
clear
(
)
:
StorageAdapter
Returns
StorageAdapter
get
get
<
T
>
(
key
:
string
, defaultValue
?:
T
)
:
T
Type parameters
T
Parameters
key:
string
Optional
defaultValue:
T
Returns
T
has
has
(
key
:
string
)
:
boolean
Parameters
key:
string
Returns
boolean
set
set
(
key
:
string
, value
:
any
)
:
StorageAdapter
Parameters
key:
string
value:
any
Returns
StorageAdapter
unset
unset
(
key
:
string
)
:
StorageAdapter
Parameters
key:
string
Returns
StorageAdapter
Exports
Request
Response
Storage
Adapter
constructor
storage
streams
config
clear
get
has
set
unset