summaryrefslogtreecommitdiff
path: root/src/HttpServerBodyCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-03-14 16:38:54 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-03-14 16:38:54 +0900
commitf0cfbb21c1c0e68aef0de8e2380ac744be832d13 (patch)
treeafe910230bee65b8f16b5bf2e20f680d7bf2b695 /src/HttpServerBodyCommand.h
parent5a1fb3875fdb27076e71a87e35359aad0aba108c (diff)
Renamed classes in abstract layer of RPC service from XmlRpc* to Rpc*.
Now JSON-RPC is available by default regardless of XML library. XML-RPC becomes available when XML library is available.
Diffstat (limited to 'src/HttpServerBodyCommand.h')
-rw-r--r--src/HttpServerBodyCommand.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/HttpServerBodyCommand.h b/src/HttpServerBodyCommand.h
index b4503a8c..f8fcc881 100644
--- a/src/HttpServerBodyCommand.h
+++ b/src/HttpServerBodyCommand.h
@@ -39,7 +39,7 @@
#include "SharedHandle.h"
#include "TimerA2.h"
#include "ValueBase.h"
-#include "XmlRpcResponse.h"
+#include "RpcResponse.h"
namespace aria2 {
@@ -60,12 +60,12 @@ private:
const SharedHandle<ValueBase>& id,
const std::string& callback);
void sendJsonRpcResponse
- (const xmlrpc::XmlRpcResponse& res,
+ (const rpc::RpcResponse& res,
const std::string& callback);
void sendJsonRpcBatchResponse
- (const std::vector<xmlrpc::XmlRpcResponse>& results,
+ (const std::vector<rpc::RpcResponse>& results,
const std::string& callback);
- xmlrpc::XmlRpcResponse processJsonRpcRequest(const Dict* jsondict);
+ rpc::RpcResponse processJsonRpcRequest(const Dict* jsondict);
void addHttpServerResponseCommand();
public:
HttpServerBodyCommand(cuid_t cuid,