Adapter for the process supervisor (psup) to serve JSON-RPC over a split socket.
Worker identity payload.
Encodes whether a packet is a request or a response so that we can do bi-directional communication over the same socket.
Prepare a JSON RPC method call wrapped as a Message.
Prepare a JSON RPC notification wrapped as a Message.
Read and write line-delimited JSON from a stream executing via a JSON RPC server.
Write a message to the writer as a JSON encoded line.