5 #ifndef CUTELYSTVALIDATORURL_H 6 #define CUTELYSTVALIDATORURL_H 8 #include "validatorrule.h" 10 #include <Cutelyst/cutelyst_global.h> 14 class ValidatorUrlPrivate;
47 Q_DECLARE_FLAGS(Constraints, Constraint)
59 Constraints constraints = NoConstraint,
91 Q_DECLARE_OPERATORS_FOR_FLAGS(Cutelyst::ValidatorUrl::Constraints)
93 #endif // CUTELYSTVALIDATORURL_H Stores custom error messages and the input field label.
The field under validation must be a valid URL.
Constraint
Constraints to limit the validation.
The Cutelyst namespace holds all public Cutelyst API.
Base class for all validator rules.
Contains the result of a single input parameter validation.