1#ifndef XRPL_BASICS_RESOLVER_H_INCLUDED
2#define XRPL_BASICS_RESOLVER_H_INCLUDED
4#include <xrpl/beast/net/IPEndpoint.h>
36 template <
class Handler>
void resolve(std::vector< std::string > const &names, Handler handler)
resolve all hostnames on the list
std::function< void(std::string, std::vector< beast::IP::Endpoint >)> HandlerType
virtual void resolve(std::vector< std::string > const &names, HandlerType const &handler)=0
virtual void stop_async()=0
Issue an asynchronous stop request.
virtual void stop()=0
Issue a synchronous stop request.
virtual void start()=0
Issue a synchronous start request.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.