socket_flow/lib.rs
1//! Straightforward async Websockets library for Rust!
2//!
3//! This library is supposed to offer a simple implementation for websockets, so end-user could use this to wrap a
4//! websockets server/client into their application, offering a smooth way of setting it up into his code.
5//!
6//! It's an async library based on tokio runtime,
7//! which uses a tokio TcpStream behind the scenes, using that as the starting point
8//! to implement the standards of [WebSocket Protocol RFC](https://datatracker.ietf.org/doc/html/rfc6455),
9//! performing handshakes, reading frames, parsing masks, handling opcodes and internal payload.
10//!
11pub mod config;
12pub mod connection;
13mod decoder;
14mod encoder;
15pub mod error;
16pub mod event;
17pub mod extensions;
18mod frame;
19pub mod handshake;
20pub mod message;
21mod read;
22mod request;
23pub mod server;
24pub mod split;
25pub mod stream;
26mod tests;
27mod utils;
28mod write;