xrpld
Loading...
Searching...
No Matches
JSONRPCClient.h
1#pragma once
2
3#include <test/jtx/AbstractClient.h>
4
5#include <xrpld/core/Config.h>
6
7#include <memory>
8
9namespace xrpl::test {
10
12std::unique_ptr<AbstractClient>
13makeJSONRPCClient(Config const& cfg, unsigned rpcVersion = 2);
14
15} // namespace xrpl::test
std::unique_ptr< AbstractClient > makeJSONRPCClient(Config const &cfg, unsigned rpcVersion)
Returns a client using JSON-RPC over HTTP/S.