Skip to main content

Module protocol

Module protocol 

Source
Expand description

Protocol types and framing for host-guest IPC.

Re-exported from the shared podbox-protocol crate so both host and guest use exactly the same wire format.

Structs§

NotifyAction

Enums§

GuestMessage
Messages sent from guest to host.
HostMessage
Messages sent from host to guest.

Constants§

ALL_CAPABILITIES
All known capabilities in negotiation order.
CAP_CLIPBOARD
CAP_HOST_EXEC
CAP_NOTIFY
Guest protocol capability identifiers.
CAP_XDG_OPEN
PROTOCOL_VERSION
Increment on breaking wire-format changes. Backwards-compatible additions (new optional message types) do NOT increment this.

Functions§

read_frame
Read a length-prefixed JSON frame.
write_frame
Write a length-prefixed JSON frame.