wsprism_core/protocol/mod.rs
1//! Protocol modules (Ext/Text + Hot/Binary).
2//!
3//! This module hosts the dual-lane wire formats:
4//! - Ext Lane: JSON envelopes with optional RawValue payloads.
5//! - Hot Lane: binary frames with fixed headers and optional sequence numbers.
6//!
7//! All parsers are panic-free: malformed input is reported as `WsPrismError`
8//! instead of panicking or indexing raw buffers, keeping the gateway resilient
9//! to hostile traffic.
10
11pub mod hot;
12pub mod text;