flare-core 0.1.2

A high-performance, reliable long-connection communication toolkit for Rust, supporting WebSocket and QUIC protocols with features like authentication, device management, serialization negotiation, and protocol racing.
1
2
3
4
5
6
7
8
9
10
11
12
//! 消息处理模块
//! 
//! 提供完整的消息处理功能,包括:
//! - 消息解析:序列化/反序列化、压缩/解压缩
//! - 消息处理:观察者模式的消息分发和处理

pub mod parser;
pub mod handler;

// 重新导出常用类型,方便使用
pub use parser::MessageParser;
pub use handler::{MessageHandler, MessageObserver, MessageEvent, ArcMessageObserver};