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

Method domain

tests/testvalidator.cpp:586–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584 // ***** Endpoint for ValidatorDomain without DNS check *****
585 C_ATTR(domain, :Local :AutoArgs)
586 void domain(Context *c)
587 {
588 Validator v(
589 {new ValidatorDomain(u"field"_s, ValidatorDomain::NoOption, m_validatorMessages)});
590 checkResponse(c, v.validate(c));
591 }
592
593 // ***** Endpoint for ValidatorDomain with DNS check *****
594 C_ATTR(domainDns, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected