Skip to main content

Module wire

Module wire 

Source
Expand description

Line-JSON wire format of the rightkit-sync-helper/1 protocol. One JSON object per line, UTF-8, no other framing. See API.md section 4.

Structs§

Request
One request line as the helper sees it.
Response
One response line. rest holds the command-specific members.
WireError
Error kinds a helper reports. Anything unknown is treated as transient.
WireRecord

Enums§

WireValue

Constants§

PROTOCOL_VERSION

Functions§

b64_decode
b64_encode
Standard base64 (RFC 4648, padded). Tokens and byte fields cross the wire as base64 text. Kept in-crate on purpose: no workspace crate owns base64, and rightkit-credentials and rightkit-tauri-shell carry their own small copies; the next owner of a shared helper replaces all three.
err_line
ok_line