/* */ #ifndef D_RPC_REQUEST_H #define D_RPC_REQUEST_H #include "common.h" #include #include "ValueBase.h" namespace aria2 { namespace rpc { struct RpcRequest { std::string methodName; std::unique_ptr params; std::unique_ptr id; bool jsonRpc; RpcRequest(); RpcRequest(std::string methodName, std::unique_ptr params); RpcRequest(std::string methodName, std::unique_ptr params, std::unique_ptr id, bool jsonRpc = false); }; } // namespace rpc } // namespace aria2 #endif // D_RPC_REQUEST_H