Expand description
V1 binary envelope on the existing authenticated exchange route. The first JSON response advertises support; an old client can ignore that header. All integers are big-endian. The 5-byte request/response magic precedes a u8 item count. A request item starts with a u8 method (GET=0, PUT=1), u16 path length and path bytes. A response item starts with its u16 status. Both end in a u8 compact flag (0 or 1), u32 body length and body bytes. Compact bodies use the signed object type implied by the mailbox operation.
Structs§
Constants§
- MEDIA_
TYPE - STATE_
RETIREMENT_ HEADER - A binary client that understands the extended /state body requests it explicitly. Earlier binary clients use the same exchange media type.
- SUPPORT_
HEADER - SUPPORT_
VALUE