/* */ #ifndef D_XML_RPC_REQUEST_H #define D_XML_RPC_REQUEST_H #include "common.h" #include #include "ValueBase.h" namespace aria2 { namespace xmlrpc { struct XmlRpcRequest { std::string methodName; SharedHandle params; XmlRpcRequest(const std::string& methodName, const SharedHandle& params); ~XmlRpcRequest(); XmlRpcRequest(const XmlRpcRequest& c); XmlRpcRequest& operator=(const XmlRpcRequest& c); const String* getStringParam(size_t index) const; const Integer* getIntegerParam(size_t index) const; const List* getListParam(size_t index) const; const Dict* getDictParam(size_t index) const; }; } // namespace xmlrpc } // namespace aria2 #endif // D_XML_RPC_REQUEST_H