Skip to main content

Module wire

Module wire 

Source
Expand description

Adapter protocol v1: big-endian u32 byte length followed by UTF-8 JSON.

Structs§

Initialized
ServiceDescriptor

Enums§

Envelope

Constants§

MAX_FRAME
A frame limit, not a file/tree/stream size limit. Bulk services must page/chunk.

Functions§

encode
name
Validate a protocol identifier shared by service and package contracts.
read_frame
read_frame_or_eof
Distinguishes a clean pipe close from a truncated header or body.
validate
write_frame