gitdataai/lib/socketio/lib.rs
2026-05-30 01:38:40 +08:00

24 lines
651 B
Rust

mod actix;
mod adapter;
mod config;
mod engine_packet;
mod error;
mod namespace;
mod nats;
mod packet;
mod redis;
mod server;
mod session;
mod socket;
pub use actix::{configure, configure_at};
pub use adapter::{Adapter, BroadcastOptions, MemoryAdapter};
pub use config::SocketIoConfig;
pub use error::{Result, SocketIoError};
pub use namespace::Broadcast;
pub use nats::{NatsJetStreamAdapter, NatsJetStreamAdapterConfig};
pub use packet::{EventPayload, Packet, PacketType};
pub use redis::{RedisClusterAdapter, RedisClusterAdapterConfig};
pub use server::{Namespace, SocketIo, SocketIoBuilder};
pub use socket::{AckSender, DisconnectReason, Socket};