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

Method alphaNum

tests/testvalidator.cpp:356–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354 // ***** Endpoint for ValidatorAlphaNum ******
355 C_ATTR(alphaNum, :Local :AutoArgs)
356 void alphaNum(Context *c)
357 {
358 Validator v({new ValidatorAlphaNum(u"alphanum_field"_s, false, m_validatorMessages)});
359 checkResponse(c, v.validate(c));
360 }
361
362 // ***** Endpoint for ValidatorAlphaNum only ASCII ******
363 C_ATTR(alphaNumAscii, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected