Dev Essential
Loading...
Searching...
No Matches
json_http_rpc.h
Go to the documentation of this file.
1
14
15#ifndef PKG_RPC_JSON_HTTP_H_INCLUDED
16#define PKG_RPC_JSON_HTTP_H_INCLUDED
17
19
20#include <jsonrpccpp/client/iclientconnector.h>
21
25namespace rpc {
29namespace http {
30
34class cJSONRPCServer : public detail::cRPCServer {
35public:
38};
39
43class cJSONClientConnector : public jsonrpc::IClientConnector {
44public:
49 cJSONClientConnector(const std::string& strUrl);
67
68public:
75 void SendRPCMessage(const std::string& message, std::string& result) override;
76
77private:
78 class cImplementation;
79 cImplementation* m_pImplementation;
80};
81
82} // namespace http
83} // namespace rpc
84
85#endif // PKG_RPC_JSON_HTTP_H_INCLUDED
void SendRPCMessage(const std::string &message, std::string &result) override
cJSONClientConnector(const std::string &strUrl)
cJSONClientConnector(cJSONClientConnector &&other)
cJSONClientConnector(const cJSONClientConnector &)=delete
Disable copy construction.
cJSONClientConnector & operator=(cJSONClientConnector &&other)
cJSONClientConnector & operator=(const cJSONClientConnector &)=delete
Disable copy assignment.
cJSONRPCServer()
CTOR, setting the content type for the RPC server to "application/json".
definition of the http namespace
Definition http_rpc_server.h:23
definition of the rpc namespace
Definition json_rpc_impl.h:20