Skip to main content

Module protocol

Module protocol 

Source

Structs§

ErrorPayload
Response

Enums§

FrameError
Request

Functions§

decode_frame
Decode a length-prefixed frame into a deserialized value. Returns the value and the number of bytes consumed.
encode_frame
Encode a serializable value into a length-prefixed frame. Format: [4-byte big-endian length][JSON payload]