No description
Find a file
2015-11-20 15:32:42 -05:00
examples Updated examples to Hessian 2.0 2015-11-20 08:55:27 -05:00
private Added tests for unicode strings 2015-11-20 15:25:26 -05:00
test Added tests for unicode strings 2015-11-20 15:25:26 -05:00
hessian.nim Added date encoder/decoder 2015-11-20 13:58:10 -05:00
nhsl.nimble Added Nimble file 2015-11-20 15:32:42 -05:00
README.md Changed README to Markdown 2015-11-19 17:14:49 -05:00

Nim Hessian Serialization Library (NHSL)

The NHSL module is a partial implementation of the Hessian binary protocol. Hessian is a compact binary protocol for cross-platform web services and messaging. It allows you to represent binary data (integers, floats, lists objects, etc.) in a very compact form. This allows storage or communication to be small and fast.

For the Hessian spec, see http://hessian.caucho.com/doc/hessian-serialization.html

This is only a partial implementation of the Hessian protocol.

Supported

  • boolean
  • double
    • Compact: double zero
    • Compact: double one
    • Compact: double octet
    • Compact: double short
    • Compact: double float
  • int
    • Compact: single octet integers
    • Compact: two octet integers
    • Compact: three octet integers
  • list
    • Compact: fixed length list
  • long
    • Compact: single octet longs
    • Compact: two octet longs
    • Compact: three octet longs
    • Compact: four octet longs
  • string
    • Compact: short strings

Unsupported:

  • binary data
    • Compact: short binary
  • date
    • Compact: date in minutes
  • map
  • null
  • object
    • Compact: class definition
    • Compact: object instantiation
  • ref
  • type
    • Compact: type references