Module document_routes
Expand description
A document envelope as a route’s endpoint takes it in: the whole payload, checked against the route it arrived on, and the mutation it carries.
Functions§
- decode_
routed_ mutation - The mutation
payloadcarries onroute: the cleartext one, or the endpoint’s decryption of an encrypted one, which must nameroute’s channel. - validated_
route_ payload - The whole document payload
envelopecarries, when it belongs toroute. - validated_
route_ payload_ with validated_route_payloadfor an envelope as it reaches the endpoint: a reassembled cleartext transfer arrives on its last segment’s envelope with the complete mutation beside it. The segment envelope must belong toroute, and the complete payload must be a current-format mutation (the only format that is ever segmented).