mirror of
https://github.com/aria2/aria2.git
synced 2026-04-11 23:39:05 +00:00
Added initial JSON-RPC support.
JSON-RPC is enabled using --enable-xml-rpc. We are implementing JSON-RPC based on JSON-RPC 2.0 draft spec.
This commit is contained in:
@@ -68,6 +68,10 @@ public:
|
||||
// in this class.
|
||||
GZipEncoder& operator<<(const std::string& s);
|
||||
|
||||
// Feeds binary data in s with size length to deflater. The
|
||||
// deflated result is kept in this class.
|
||||
GZipEncoder& write(const char* s, size_t length);
|
||||
|
||||
// Feeds integer to deflator. Before passed to deflator, i is
|
||||
// converted to std::string using util::itos(). The deflated result
|
||||
// is kept in this class.
|
||||
|
||||
Reference in New Issue
Block a user