| 58 | |
| 59 | C_ATTR(statusQuery, :Local :AutoArgs) |
| 60 | void statusQuery(Context *c) |
| 61 | { |
| 62 | ParamsMultiMap ret = StatusMessage::statusQuery( |
| 63 | c, u"SM:statusQuery"_s, ParamsMultiMap{{u"SM"_s, u"testing"_s}}); |
| 64 | c->response()->setBody(c->uriFor(u"/"_s, ret).toString(QUrl::FullyEncoded)); |
| 65 | } |
| 66 | |
| 67 | C_ATTR(statusQueryTest, :Local :AutoArgs) |
| 68 | void statusQueryTest(Context *c, const QString &statusKey, const QString &errorKey) |