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 client;
pub mod common;
pub mod server;
pub mod transport;

// 重新导出混合接口
pub use client::HybridClient;
pub use server::HybridServer;

// 重新导出 Builder API(观察者模式和简单模式)
pub use client::{ClientBuilder, SimpleClient, ObserverClientBuilder, ObserverClient};
pub use server::{ServerBuilder, SimpleServer, MessageContext, ObserverServerBuilder, ObserverServer, ServerHandle, DefaultServerHandle};