Skip to main content

Module transport

Module transport 

Source
Expand description

SidecarTransport: spawns a native sidecar binary and speaks the existing framed BARE protocol over its stdio.

This mirrors the TypeScript NativeSidecarProcessClient. Generated wire payloads are the native transport path.

Request-id direction is load-bearing: host-initiated Request/Response frames use positive ids allocated by this transport, while sidecar-initiated SidecarRequest/SidecarResponse callbacks echo the id allocated by the sidecar.

Structs§

SidecarTransport
Owns the spawned sidecar child, the framed BARE stdio I/O tasks, the pending-response map, the event fan-out, and the callback dispatch table.

Type Aliases§

WireSidecarCallback
A registered callback that answers a sidecar-initiated request using generated wire types.