PIVX Core  5.6.99
P2P Digital Currency
client.h
Go to the documentation of this file.
1 // Copyright (c) 2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2016 The Bitcoin developers
3 // Copyright (c) 2017-2021 The PIVX Core developers
4 // Distributed under the MIT software license, see the accompanying
5 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 
7 #ifndef PIVX_RPC_CLIENT_H
8 #define PIVX_RPC_CLIENT_H
9 
10 #include <univalue.h>
11 
13 UniValue RPCConvertValues(const std::string& strMethod, const std::vector<std::string>& strParams);
14 
16 UniValue RPCConvertNamedValues(const std::string& strMethod, const std::vector<std::string>& strParams);
17 
21 UniValue ParseNonRFCJSONValue(const std::string& strVal);
22 
23 #endif // PIVX_RPC_CLIENT_H
UniValue ParseNonRFCJSONValue(const std::string &strVal)
Non-RFC4627 JSON parser, accepts internal values (such as numbers, true, false, null) as well as obje...
Definition: client.cpp:241
UniValue RPCConvertValues(const std::string &strMethod, const std::vector< std::string > &strParams)
Convert positional arguments to command-specific RPC representation.
Definition: client.cpp:250
UniValue RPCConvertNamedValues(const std::string &strMethod, const std::vector< std::string > &strParams)
Convert named arguments to command-specific RPC representation.
Definition: client.cpp:269