Expand description
Protocol definitions for sync communication.
This module defines transport-agnostic message types that can be used across different network transports (HTTP, Iroh, Bluetooth, etc.).
Structs§
- Bootstrap
Response - Bootstrap response containing complete tree state
- Handshake
Request - Handshake request sent when establishing a peer connection.
- Handshake
Response - Handshake response sent in reply to a handshake request.
- Incremental
Response - Incremental sync response for existing trees
- Request
Context - Context information about the incoming request.
- Sync
Tree Request - Unified sync request for both bootstrap and incremental sync
- Tree
Info - Information about a tree available for sync
Enums§
- Sync
Request - Request messages that can be sent to a sync peer.
- Sync
Response - Response messages returned from a sync peer.
Constants§
- PROTOCOL_
VERSION - Current protocol version - 0 indicates unstable