/* */ #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): methodName(methodName), params(params) {} 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_