Skip to main content

Module document_routes

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 payload carries on route: the cleartext one, or the endpoint’s decryption of an encrypted one, which must name route’s channel.
validated_route_payload
The whole document payload envelope carries, when it belongs to route.
validated_route_payload_with
validated_route_payload for 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 to route, and the complete payload must be a current-format mutation (the only format that is ever segmented).