class
Obsctl::IPC::Codec
- Obsctl::IPC::Codec
- Reference
- Object
Overview
Encodes and decodes newline-delimited JSON IPC messages.
Defined in:
obsctl/ipc/codec.crInstance Method Summary
-
#decode(line : String) : Message
Decodes a single IPC frame into a typed message.
-
#encode(message : Message) : String
Encodes a single IPC message and appends the frame delimiter.
Instance Method Detail
Decodes a single IPC frame into a typed message.
Encodes a single IPC message and appends the frame delimiter.