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

Method accepted

tests/testvalidator.cpp:228–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 // ***** Endpoint for ValidatorAccepted ******
227 C_ATTR(accepted, :Local :AutoArgs)
228 void accepted(Context *c)
229 {
230 Validator v({new ValidatorAccepted(u"accepted_field"_s, m_validatorMessages)});
231 checkResponse(c, v.validate(c));
232 }
233
234 // ***** Endpoint for ValidatorAfter with QDate ******
235 C_ATTR(afterDate, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected