aerosocket_client/lib.rs
1//! AeroSocket Client
2//!
3//! High-performance WebSocket client implementation with enterprise features.
4//!
5//! ## Quick Start
6//!
7//! ```rust,no_run
8//! use aerosocket_client::prelude::*;
9//! use std::net::SocketAddr;
10//!
11//! #[tokio::main]
12//! async fn main() -> aerosocket_core::Result<()> {
13//! let addr: SocketAddr = "127.0.0.1:8080".parse()
14//! .map_err(|e| aerosocket_core::Error::Io(std::io::Error::new(std::io::ErrorKind::InvalidInput, e)))?;
15//! let mut client = aerosocket_client::ClientConnection::new(addr);
16//!
17//! // Note: This is a simplified example - actual connection logic would be implemented here
18//! println!("Client created successfully for {}", addr);
19//!
20//! Ok(())
21//! }
22//! ```
23
24#![cfg_attr(docsrs, feature(doc_cfg))]
25#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
26#![doc(html_root_url = "https://docs.rs/aerosocket-client/")]
27
28// Public modules
29pub mod client;
30pub mod config;
31pub mod connection;
32
33// Prelude module
34pub mod prelude;
35
36// Re-export key types for convenience
37pub use client::{Client, ClientBuilder};
38pub use config::{ClientConfig, CompressionConfig, TlsConfig};
39pub use connection::ClientConnection;