Files
rippled/src/test/jtx/JSONRPCClient.h
2026-07-13 10:40:40 +00:00

18 lines
306 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