#[cfg(not(feature = "tokio"))]
mod connecting;
mod error;
pub(crate) mod frame;
mod frame_reader;
mod frame_writer;
pub mod handshake;
pub(crate) mod mask;
mod message;
mod stream;
#[cfg(feature = "tokio")]
mod async_tokio;
#[cfg(not(feature = "tokio"))]
pub use connecting::Connecting;
pub use error::ProtocolError;
pub use frame::Role;
pub use frame_reader::{FrameReader, FrameReaderBuilder, ReadError};
pub use frame_writer::{EncodeError, FrameHeader, FrameWriter};
pub use handshake::HandshakeError;
pub use mask::apply_mask;
pub use message::{CloseCode, CloseFrame, Message, OwnedCloseFrame, OwnedMessage};
pub use stream::{Client, ClientBuilder, Error, ParsedUrl, pair, pair_with, parse_ws_url};