pulse-protocol
Wire protocol definitions for the Pulse realtime communication engine.
This crate defines the binary protocol used for communication between Pulse clients and servers, including frame types, codecs, and versioning.
Frame Types
Subscribe/Unsubscribe- Channel membershipPublish- Send messages to channelsPresence- Track online usersAck/Error- Acknowledgments and errors
Example
use ;
// Create a publish frame using the helper method
let frame = publish;
// Encode and decode
let encoded = encode.unwrap;
let decoded = decode.unwrap;