Decentralised Art Server
High-performance C++ backend that exposes HTML interface and a secure REST API for managing Performative Transactions entities
 
Loading...
Searching...
No Matches
dcn::events::RpcClient Class Referencefinal

#include <rpc_client.hpp>

Public Member Functions

 RpcClient (std::string rpc_url, unsigned int rpc_timeout_ms)
 
 ~RpcClient ()
 
 RpcClient (const RpcClient &)=delete
 
RpcClientoperator= (const RpcClient &)=delete
 
 RpcClient (RpcClient &&)=delete
 
RpcClientoperator= (RpcClient &&)=delete
 
void stop ()
 
std::uint64_t callCount () const
 
nlohmann::json callSync (const std::string &method, nlohmann::json params) const
 

Constructor & Destructor Documentation

◆ RpcClient() [1/3]

dcn::events::RpcClient::RpcClient ( std::string  rpc_url,
unsigned int  rpc_timeout_ms 
)

◆ ~RpcClient()

dcn::events::RpcClient::~RpcClient ( )

◆ RpcClient() [2/3]

dcn::events::RpcClient::RpcClient ( const RpcClient )
delete

◆ RpcClient() [3/3]

dcn::events::RpcClient::RpcClient ( RpcClient &&  )
delete

Member Function Documentation

◆ callCount()

std::uint64_t dcn::events::RpcClient::callCount ( ) const

◆ callSync()

nlohmann::json dcn::events::RpcClient::callSync ( const std::string &  method,
nlohmann::json  params 
) const

◆ operator=() [1/2]

RpcClient & dcn::events::RpcClient::operator= ( const RpcClient )
delete

◆ operator=() [2/2]

RpcClient & dcn::events::RpcClient::operator= ( RpcClient &&  )
delete

◆ stop()

void dcn::events::RpcClient::stop ( )

The documentation for this class was generated from the following files: