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

Method emailCfwsValid

tests/testvalidator.cpp:642–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640 // ***** Endpoint for ValidatorEmail CFWS conformant emails valid *****
641 C_ATTR(emailCfwsValid, :Local :AutoArgs)
642 void emailCfwsValid(Context *c)
643 {
644 Validator v({new ValidatorEmail(
645 u"field"_s, ValidatorEmail::CFWS, ValidatorEmail::NoOption, m_validatorMessages)});
646 checkResponse(c, v.validate(c, Validator::NoTrimming | Validator::BodyParamsOnly));
647 }
648
649 // ***** Endpoint for ValidatorEmail CFWS conformant emails invalid *****
650 C_ATTR(emailCfwsInvalid, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected