5 #ifndef CUTELYST_PLUGIN_STATUSMESSAGE
6 #define CUTELYST_PLUGIN_STATUSMESSAGE
8 #include <Cutelyst/Plugins/statusmessage_export.h>
9 #include <Cutelyst/context.h>
10 #include <Cutelyst/plugin.h>
14 class StatusMessagePrivate;
103 [[nodiscard]]
QString sessionPrefix()
const noexcept;
109 void setSessionPrefix(
const QString &sessionPrefix);
115 [[nodiscard]]
QString tokenParam()
const noexcept;
121 void setTokenParam(
const QString &tokenParam);
127 [[nodiscard]]
QString statusMsgStashKey()
const noexcept;
133 void setStatusMsgStashKey(
const QString &statusMsgStashKey);
139 [[nodiscard]]
QString errorMgStashKey()
const noexcept;
145 void setErrorMgStashKey(
const QString &errorMgStashKey);
186 Q_PRIVATE_SLOT(d_func(),
void _q_postFork(
Application *))
The Cutelyst application.
Base class for Cutelyst Plugins.
Manage status messages over multiple requests stored in the Session.
The Cutelyst namespace holds all public Cutelyst API.