Module: Plushie::Protocol

Defined in:
lib/plushie/protocol.rb,
lib/plushie/protocol/keys.rb,
lib/plushie/protocol/decode.rb,
lib/plushie/protocol/encode.rb,
lib/plushie/protocol/parsers.rb

Overview

Wire protocol between the Ruby runtime and the Rust renderer.

Supports two formats:

  • :json : newline-delimited JSON (debugging/observability)
  • :msgpack: MessagePack with 4-byte length prefix (default, production)

See Also:

  • ~/projects/plushie-rust/docs/protocol~/projects/plushie-rust/docs/protocol.md

Defined Under Namespace

Modules: Decode, Encode, Keys, Parsers

Constant Summary collapse

PROTOCOL_VERSION =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Current wire protocol version.

1