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

Method integer

tests/testvalidator.cpp:799–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797 // ***** Endpoint for ValidatorInteger ******
798 C_ATTR(integer, :Local :AutoArgs)
799 void integer(Context *c)
800 {
801 Validator v({new ValidatorInteger(u"field"_s, QMetaType::Int, m_validatorMessages)});
802 checkResponse(c, v.validate(c));
803 }
804
805 // ***** Endpoint for ValidatorIp ******
806 C_ATTR(ip, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected