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

Interface for a whitelist handler. More...

#include <WhitelistHandlerInterface.hpp>

Inheritance diagram for web::dosguard::WhitelistHandlerInterface:

Public Member Functions

virtual ~WhitelistHandlerInterface ()=default
 Virtual destructor.
 
virtual bool isWhiteListed (std::string_view ip) const =0
 Checks to see if the given IP is whitelisted.
 

Detailed Description

Interface for a whitelist handler.

Member Function Documentation

◆ isWhiteListed()

virtual bool web::dosguard::WhitelistHandlerInterface::isWhiteListed ( std::string_view ip) const
nodiscardpure virtual

Checks to see if the given IP is whitelisted.

Parameters
ipThe IP to check
Returns
true if the given IP is whitelisted; false otherwise

Implemented in web::dosguard::WhitelistHandler.


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