Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
web::dosguard::IntervalSweepHandler Class Reference

Sweep handler clearing context every sweep interval from config. More...

#include <IntervalSweepHandler.hpp>

Public Member Functions

 IntervalSweepHandler (util::config::ClioConfigDefinition const &config, boost::asio::io_context &ctx, web::dosguard::BaseDOSGuard &dosGuard)
 Construct a new interval-based sweep handler.
 

Detailed Description

Sweep handler clearing context every sweep interval from config.

Constructor & Destructor Documentation

◆ IntervalSweepHandler()

web::dosguard::IntervalSweepHandler::IntervalSweepHandler ( util::config::ClioConfigDefinition const & config,
boost::asio::io_context & ctx,
web::dosguard::BaseDOSGuard & dosGuard )

Construct a new interval-based sweep handler.

Parameters
configClio config to use
ctxThe boost::asio::io_context to use
dosGuardThe DOS guard to use

The documentation for this class was generated from the following files: