Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SHV RPC

SHV RPC is RPC framework build around ChainPack packing schema. RPC call is realized as sending ChainPack encoded Message either via broker or peer-to-peer.

Why ChainPack? I liked XML attributes, but I dislike fact that XML attributes syntax is not XML. I like JSON brevity, but you cannot have attributes, comments, utf8 in JSON. ChainPack is attempt to choose the best from XML and JSON.

ChainPack main features:

  • UTF8 string encoding
  • every value can have set of named attributes, attributes values are ChainPack again.
  • binary ChainPack and text Cpon representation convertible each to other, see cp2cp or ccp2cp utilities
  • DateTime native type
  • Blob native type

See available implementations for various programming languages and various tools.