socket_flow/
lib.rs

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