rustyclaw_core/gateway/protocol/mod.rs
1//! Protocol types for gateway WebSocket communication.
2//!
3//! This module provides typed frame definitions for binary serialization
4//! using bincode. The client and server are compiled together, so they
5//! share the exact same types.
6//!
7//! ## Binary Protocol
8//!
9//! Frames are serialized using bincode and sent as WebSocket Binary messages.
10//! Each frame has a type enum as the first field to allow dispatch.
11//! Text frames are not supported and will be rejected.
12
13pub mod frames;
14pub mod server;
15pub mod types;
16
17pub use frames::{
18 ClientFrame, ClientFrameType, ClientPayload, SecretEntryDto, ServerFrame, ServerFrameType,
19 ServerPayload, StatusType, TaskInfoDto, ThreadInfoDto, deserialize_frame, serialize_frame,
20};