|
Clio
develop
The XRP Ledger API server.
|
A whitelist to remove rate limits of certain IP addresses. More...
#include <WhitelistHandler.hpp>
Public Member Functions | |
| std::expected< void, std::string > | add (std::string_view net) |
| Add network address to whitelist. | |
| bool | isWhiteListed (std::string_view ip) const |
| Checks to see if ip address is whitelisted. | |
A whitelist to remove rate limits of certain IP addresses.
| std::expected< void, std::string > web::dosguard::Whitelist::add | ( | std::string_view | net | ) |
Add network address to whitelist.
| net | Network part of the ip address |
|
nodiscard |
Checks to see if ip address is whitelisted.
| ip | IP address |