aerosocket_core/
lib.rs

1//! # AeroSocket Core
2//!
3//! Core WebSocket protocol implementation providing the foundation for AeroSocket Core Library
4//!
5//! This is the core library that provides the fundamental WebSocket protocol
6//! implementation for AeroSocket. It includes:
7//!
8//! - Error handling and types
9//! - WebSocket frame parsing and generation
10//! - Message handling and assembly
11//! - Protocol constants and utilities
12//! - Transport layer abstractions
13
14#![cfg_attr(docsrs, feature(doc_cfg))]
15#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
16#![doc(html_root_url = "https://docs.rs/aerosocket-core/")]
17
18// Core modules
19pub mod error;
20pub mod frame;
21pub mod handshake;
22pub mod message;
23pub mod protocol;
24pub mod transport;
25
26// Prelude module with common imports
27pub mod prelude;
28
29// Re-export key types for convenience
30pub use error::{Error, Result};
31pub use frame::{Frame, FrameKind};
32pub use handshake::{HandshakeConfig, HandshakeRequest, HandshakeResponse};
33pub use message::{Message, MessageKind};
34pub use protocol::Opcode;
35pub use transport::Transport;