Expand description
Group Text Protocol — text sub-protocol of the Group Protocol Stack.
GTP is to GBP what TCP is to IP: it adds message-level semantics on top of the GBP base layer’s framing and AEAD. This crate exposes:
GtpMessage— the CBOR-encoded text message format.GtpClient— a stateful client that:- sends text messages through a
gbp_node::GroupNode; - accepts incoming plaintext payloads delivered by GBP and rejects
duplicates by
(sender_id, message_id).
- sends text messages through a
See gbp-protocol for the underlying frame format.
Re-exports§
pub use attachment::AttachmentAssembler;pub use attachment::AttachmentChunk;pub use attachment::AttachmentError;pub use attachment::AttachmentManifest;pub use attachment::AttachmentSender;pub use attachment::DEFAULT_CHUNK_SIZE;pub use client::GtpAccept;pub use client::GtpClient;pub use client::GtpError;pub use history::MessageHistory;pub use history::Watermark;pub use message::GtpContentType;pub use message::GtpMessage;
Modules§
- attachment
- GTP attachment support: chunking, manifest, and integrity verification (gtp_rfc §6).
- client
- Stateful GTP client.
- history
- Bounded message log + per-sender resynchronisation watermark.
- message
- GTP message codec.