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

mod codec;
mod error;
mod stream;
mod types;