Constructor for creating a new instance of a class with the given client options.
The options to configure the client.
None
Cleans the specified key or keys from the cookie engine after initializing the engine.
The key or keys to be cleaned from the cookie engine.
A promise that resolves once the key(s) have been cleaned.
Asynchronously retrieves the value associated with the given key from the cookie engine after initializing the engine if it has not been initialized yet.
The key to look up in the cookie engine.
The value associated with the key, or undefined if the key is not found.
Asynchronously sets a default value for a given key in the cookie engine.
The key for which the default value is being set.
The default value to set for the key.
A promise that resolves once the default value is set in the cookie engine.
Sets a long-lived value in the cookie engine with the given key and value.
The key to set in the cookie engine.
The value to associate with the key.
A promise that resolves when the value is successfully set.
Asynchronously sets a key-value pair in the cookie engine with a specified time-to-live (TTL).
The key to set in the cookie engine.
The value to associate with the key.
The time-to-live (in seconds) for the key-value pair.
A promise that resolves when the key-value pair is successfully set in the cookie engine.
Class representing a Storage manager that handles setting, getting, and cleaning cookies.