stream-tungstenite 0.6.1

A streaming implementation of the Tungstenite WebSocket protocol
Documentation
//! Message handling module.
//!
//! This module provides message dispatching and routing functionality.
//!
//! # Components
//!
//! - **`MessageDispatcher`**: Handles sending and receiving messages
//!
//! # Example
//!
//! ```rust,ignore
//! use stream_tungstenite::message::{MessageDispatcher, DispatcherConfig};
//!
//! // Create dispatcher
//! let config = DispatcherConfig::new()
//!     .with_receive_timeout(Duration::from_secs(30));
//! let dispatcher = Arc::new(MessageDispatcher::new(config));
//!
//! // Subscribe to messages
//! let mut messages = dispatcher.subscribe();
//!
//! // Send a message
//! dispatcher.send(tungstenite::Message::Text("Hello, World!".into())).await?;
//! ```

mod dispatcher;

pub use dispatcher::{DispatcherConfig, MessageDispatcher, ProcessorErrorPolicy, SharedMessage};