24#ifndef NAWA_ACCESSFILTER_H
25#define NAWA_ACCESSFILTER_H
121 [[nodiscard]]
bool matches(std::vector<std::string>
const& requestPath)
const;
bool & invertPathFilter() noexcept
std::string & response() noexcept
std::vector< std::string > & extensionFilter() noexcept
std::regex & regexFilter() noexcept
bool matches(std::vector< std::string > const &requestPath) const
bool & regexFilterEnabled() noexcept
std::vector< std::vector< std::string > > & pathFilter() noexcept
bool & invertExtensionFilter() noexcept
Macros for frequently used patterns.
#define NAWA_COMPLEX_DATA_ACCESSORS_DEF(Class, Member, Type)
#define NAWA_DEFAULT_DESTRUCTOR_DEF(Class)
#define NAWA_DEFAULT_CONSTRUCTOR_DEF(Class)
#define NAWA_MOVE_CONSTRUCTOR_DEF(Class)
#define NAWA_PRIMITIVE_DATA_ACCESSORS_DEF(Class, Member, Type)
#define NAWA_COPY_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_PRIVATE_DATA()
#define NAWA_MOVE_ASSIGNMENT_OPERATOR_DEF(Class)
#define NAWA_COPY_CONSTRUCTOR_DEF(Class)