flare-core 1.0.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.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! 服务端事件处理模块
//!
//! 提供细化的服务端事件处理接口,支持按命令类型处理

pub mod factory;
pub mod handler;
pub mod observer;
// pub mod observer_back;
pub mod event_wrapper;

pub use factory::{
    ChainedObserverFactory, DefaultServerMessageObserverFactory, ServerMessageObserverFactory,
};
pub use handler::ServerEventHandler;
// pub use observer_back::DefaultServerMessageObserver;
pub use event_wrapper::ServerMessageWrapper;