Expand description
MEWS
Minimal and Efficient, Multiple-Environment WebSocket implementation for async Rust§Features
-
Minimal and Efficient : minimal codebase to provide efficient, memory-safe WebSocket handling.
-
Multiple Environment :
tokio
,smol
,glommio
are supported as async runtime ( by feature flagsrt_{name}
).
§Note
MEWS is NOT WebSocket server, just protocol implementation. So :
-
Tend to be used by web frameworks internally, not by end-developers.
-
Doesn’t builtins
wss://
support.
Re-exports§
pub use message::Message;
pub use message::CloseFrame;
pub use message::CloseCode;
pub use connection::Connection;
pub use connection::split;
pub use connection::split::Splitable;
pub use connection::split::ReadHalf;
pub use connection::split::WriteHalf;
pub use websocket::*;