Module: Mycel::Codec
- Defined in:
- lib/mycel.rb
Overview
Codec — pluggable Hash <-> bytes serialiser used by Channel::Session. Default is JSON. Drop in MessagePack / Protocol Buffers / etc. by supplying an object responding to .encode(hash) and .decode(bytes).
Defined Under Namespace
Modules: JSON