Expand description
Length-prefixed message framing for Unix socket IPC
Wire format: [4 bytes: payload length as u32 big-endian][payload bytes]
Functionsยง
- read_
framed - Read a length-prefixed message from a synchronous stream
- read_
framed_ async - Read a length-prefixed message from an async tokio stream
- write_
framed - Write a length-prefixed message to a synchronous stream
- write_
framed_ async - Write a length-prefixed message to an async tokio stream