1#ifndef XRPL_NET_RPCCALL_H_INCLUDED 
    2#define XRPL_NET_RPCCALL_H_INCLUDED 
    4#include <xrpld/core/Config.h> 
    6#include <xrpl/basics/Log.h> 
    7#include <xrpl/json/json_value.h> 
    9#include <boost/asio/io_context.hpp> 
   35    boost::asio::io_context& io_context,
 
   55    unsigned int apiVersion,
 
   66    unsigned int apiVersion,
 
A generic endpoint for log messages.
 
void fromNetwork(boost::asio::io_context &io_context, std::string const &strIp, std::uint16_t const iPort, std::string const &strUsername, std::string const &strPassword, std::string const &strPath, std::string const &strMethod, Json::Value const &jvParams, bool const bSSL, bool const quiet, Logs &logs, std::function< void(Json::Value const &jvInput)> callbackFuncP, std::unordered_map< std::string, std::string > headers)
 
int fromCommandLine(Config const &config, std::vector< std::string > const &vCmd, Logs &logs)
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
std::pair< int, Json::Value > rpcClient(std::vector< std::string > const &args, Config const &config, Logs &logs, unsigned int apiVersion, std::unordered_map< std::string, std::string > const &headers)
Internal invocation of RPC client.
 
Json::Value rpcCmdToJson(std::vector< std::string > const &args, Json::Value &retParams, unsigned int apiVersion, beast::Journal j)