5#ifndef CUTELYSTMEMCACHEDSESSIONSTORE_H
6#define CUTELYSTMEMCACHEDSESSIONSTORE_H
8#include <Cutelyst/Plugins/Session/session.h>
9#include <Cutelyst/Plugins/memcachedsessionstore_export.h>
14class MemcachedSessionStorePrivate;
95 QVariant getSessionData(
Context *c,
96 const QByteArray &sid,
98 const QVariant &defaultValue)
override;
100 bool storeSessionData(
Context *c,
101 const QByteArray &sid,
103 const QVariant &value)
override;
105 bool deleteSessionData(
Context *c,
const QByteArray &sid,
const QString &key)
override;
107 bool deleteExpiredSessions(
Context *c, quint64 expires)
override;
113 void setGroupKey(
const QByteArray &groupKey);
116 std::unique_ptr<MemcachedSessionStorePrivate> d_ptr;
The Cutelyst application.
Memcached based session store.
~MemcachedSessionStore() override
Abstract class to create a session store.
The Cutelyst namespace holds all public Cutelyst API.