Module websocket

Module websocket 

Source
Expand description

WebSocket server foundation for elif framework

This module provides WebSocket server capabilities integrated with the HTTP server, including connection management, lifecycle handling, and message routing.

Re-exports§

pub use channel::Channel;
pub use channel::ChannelEvent;
pub use channel::ChannelId;
pub use channel::ChannelManager;
pub use channel::ChannelManagerStats;
pub use channel::ChannelMember;
pub use channel::ChannelMessage;
pub use channel::ChannelMetadata;
pub use channel::ChannelPermissions;
pub use channel::ChannelStats;
pub use channel::ChannelType;
pub use connection::WebSocketConnection;
pub use handler::SimpleWebSocketHandler;
pub use handler::WebSocketHandler;
pub use handler::WebSocketUpgrade;
pub use registry::ConnectionEvent;
pub use registry::ConnectionRegistry;
pub use server::WebSocketServer;
pub use types::ConnectionId;
pub use types::ConnectionState;
pub use types::MessageType;
pub use types::WebSocketConfig;
pub use types::WebSocketError;
pub use types::WebSocketMessage;
pub use types::WebSocketResult;

Modules§

channel
Channel abstraction system for WebSocket messaging
connection
WebSocket connection management - high-performance wrapper around tokio-tungstenite
handler
WebSocket handler and upgrade mechanism - clean API for elif framework
registry
Connection registry for managing WebSocket connections
server
WebSocket server integration with elif HTTP server
types
WebSocket types and abstractions for elif framework