1#ifndef XRPL_RESOURCE_KEY_H_INCLUDED
2#define XRPL_RESOURCE_KEY_H_INCLUDED
4#include <xrpl/beast/net/IPEndpoint.h>
5#include <xrpl/beast/utility/instrumentation.h>
6#include <xrpl/resource/detail/Kind.h>
A version-independent IP address and port combination.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::size_t operator()(Key const &v) const
bool operator()(Key const &lhs, Key const &rhs) const
beast::IP::Endpoint address
Key(Kind k, beast::IP::Endpoint const &addr)