MCPcopy Create free account
hub / github.com/cutelyst/cutelyst / statusQuery

Method statusQuery

tests/teststatusmessage.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 3

responseMethod · 0.80
setBodyMethod · 0.60
uriForMethod · 0.45

Tested by

no test coverage detected