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

Method statusQueryTest

tests/teststatusmessage.cpp:68–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67 C_ATTR(statusQueryTest, :Local :AutoArgs)
68 void statusQueryTest(Context *c, const QString &statusKey, const QString &errorKey)
69 {
70 qDebug() << "---- stash" << c->stash();
71 c->response()->setBody(c->stash(statusKey).toString());
72 }
73
74private:
75 C_ATTR(Auto,)

Callers

nothing calls this directly

Calls 3

stashMethod · 0.80
responseMethod · 0.80
setBodyMethod · 0.60

Tested by

no test coverage detected