duck.http.session.session_storage_connector¶
Module containing SessionConnector class which can be used to connect to session storage to perform operations like get, set, update, delete, clear, etc.
Module Contents¶
Classes¶
This class is used to connect to the session storage and perform almost all the operations on the session storage |
Functions¶
Returns the session storage connector object. |
API¶
- class duck.http.session.session_storage_connector.SessionStorageConnector(session_storage_cls: Callable)[source]¶
This class is used to connect to the session storage and perform almost all the operations on the session storage
Initialization
Initialize SessionStorageConnector
- Parameters:
session_storage_cls – Class to initialize the session storage object
- CACHED_SESSIONS¶
‘InMemoryCache(…)’
In Memory cache for sessions.
- __new__(session_storage_cls: duck.utils.caching.CacheBase)[source]¶