tokio_websockets/proto/mod.rs
1//! This module contains a correct and complete implementation of [RFC6455](https://datatracker.ietf.org/doc/html/rfc6455).
2//!
3//! Any extensions are currently not implemented.
4#[cfg(any(feature = "client", feature = "server"))]
5pub(crate) use self::types::Role;
6pub use self::{
7 error::ProtocolError,
8 stream::WebSocketStream,
9 types::{CloseCode, Config, Limits, Message, Payload},
10};
11
12mod codec;
13mod error;
14mod stream;
15mod types;