Files
rippled/src/test/jtx/JSONRPCClient.h

16 lines
302 B
C++

#pragma once
#include <test/jtx/AbstractClient.h>
#include <xrpld/core/Config.h>
#include <memory>
namespace xrpl::test {
/** Returns a client using JSON-RPC over HTTP/S. */
std::unique_ptr<AbstractClient>
makeJSONRPCClient(Config const& cfg, unsigned rpcVersion = 2);
} // namespace xrpl::test