mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
30 lines
551 B
C++
30 lines
551 B
C++
/*!
|
|
*
|
|
* \author: Dario Rekowski
|
|
*
|
|
* \date: 13.01.2021
|
|
*
|
|
* \brief: Class for Json Requests to php server
|
|
*
|
|
*/
|
|
|
|
#include "JsonRequest.h"
|
|
|
|
#ifndef __GRADIDO_LOGIN_SERVER_LIB_JSON_RPC_REQUEST_
|
|
#define __GRADIDO_LOGIN_SERVER_LIB_JSON_RPC_REQUEST_
|
|
|
|
|
|
class JsonRPCRequest : public JsonRequest
|
|
{
|
|
public:
|
|
JsonRPCRequest(const std::string& serverHost, int serverPort);
|
|
~JsonRPCRequest();
|
|
|
|
Poco::JSON::Object::Ptr request(const char* methodName, const Poco::JSON::Object& params);
|
|
|
|
protected:
|
|
|
|
};
|
|
|
|
|
|
#endif //__GRADIDO_LOGIN_SERVER_LIB_JSON_RPC_REQUEST_
|