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