gtp-protocol
Group Text Protocol — text-messaging sub-protocol of the Group Protocol Stack.
GTP is to GBP what TCP is to IP: it adds idempotent message-level semantics on top of the GBP base layer's framing and AEAD.
What this crate provides
GtpMessage— the CBOR-encoded text message envelope.GtpClient— 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
Example
use GtpClient;
let mut client = new;
let frame = client.send?;
// hand `frame.wire` to your transport...
License
Licensed under Apache License, Version 2.0.