diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-03-09 23:07:27 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-03-09 23:07:27 +0900 |
| commit | 7338a2503547ae1310d018d0fc2903fb85b309ea (patch) | |
| tree | c7111eb641f6bf1b661c03270a8f4407d2fada21 /src/GZipEncoder.h | |
| parent | d541b350d21cd7747479f21b7c4b6d363248a450 (diff) | |
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.
Diffstat (limited to 'src/GZipEncoder.h')
| -rw-r--r-- | src/GZipEncoder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GZipEncoder.h b/src/GZipEncoder.h index b5cf66de..4ba83ac2 100644 --- a/src/GZipEncoder.h +++ b/src/GZipEncoder.h @@ -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. |
