Skip to main content

frame_route

Function frame_route 

Source
fn frame_route(bytes: &[u8], dictate: &Streaming) -> FrameRoute
Expand description

Decide one binary message’s destination.

The frame carries no seat of its own: it belongs to whatever take the connection that sent it started - or to the read-aloud recording it is feeding - and its messages are ordered, so a frame can only arrive between a start of its own and that take’s end. It is offered to every seat the connection has claimed - a refused start’s seat stays among them, holding nothing - and the push below keeps it only where the live take is THAT connection’s.