codec property

The codec used on the control channel.

Defaults to MessageCodec.standard (a JSON envelope). Any ConnectionCodec over NodeControlMessage works, so an application can swap in its own wire format (e.g. a binary one) without forking the runtime — it just has to match the hub's.

Implementation

final ConnectionCodec<NodeControlMessage> codec;