15 #ifndef PKG_RPC_JSON_HTTP_H_INCLUDED
16 #define PKG_RPC_JSON_HTTP_H_INCLUDED
20 #include <jsonrpccpp/client/iclientconnector.h>
69 void SendRPCMessage(
const std::string& message, std::string& result)
override;
72 class cImplementation;
73 cImplementation* m_pImplementation;
Connector that sends RPC messages via HTTP.
cJSONClientConnector(const std::string &strUrl)
Constructor.
cJSONClientConnector & operator=(cJSONClientConnector &&other)
Move assignment.
~cJSONClientConnector()
DTOR.
void SendRPCMessage(const std::string &message, std::string &result) override
Send an RPC message to the connected url.
cJSONClientConnector & operator=(const cJSONClientConnector &)=delete
Disable copy assignment.
cJSONClientConnector(cJSONClientConnector &&other)
Move constructor.
cJSONClientConnector(const cJSONClientConnector &)=delete
Disable copy construction.
The JSON RPC server class.
cJSONRPCServer()
CTOR, setting the content type for the RPC server to "application/json".
RPC Protocol declaration.