22#include "util/Repeat.hpp"
23#include "util/newconfig/ConfigDefinition.hpp"
25#include <boost/asio/io_context.hpp>
27namespace web::dosguard {
47 boost::asio::io_context& ctx,
A class to repeat some action at a regular interval.
Definition Repeat.hpp:41
All the config data will be stored and extracted from this class.
Definition ConfigDefinition.hpp:54
The interface of a denial of service guard.
Definition DOSGuardInterface.hpp:30
Sweep handler clearing context every sweep interval from config.
Definition IntervalSweepHandler.hpp:34
IntervalSweepHandler(util::config::ClioConfigDefinition const &config, boost::asio::io_context &ctx, web::dosguard::BaseDOSGuard &dosGuard)
Construct a new interval-based sweep handler.
Definition IntervalSweepHandler.cpp:33