Expand description
AeroSocket Client
High-performance WebSocket client implementation with enterprise features.
§Quick Start
use aerosocket_client::prelude::*;
use std::net::SocketAddr;
#[tokio::main]
async fn main() -> aerosocket_core::Result<()> {
let addr: SocketAddr = "127.0.0.1:8080".parse()
.map_err(|e| aerosocket_core::Error::Io(std::io::Error::new(std::io::ErrorKind::InvalidInput, e)))?;
let mut client = aerosocket_client::ClientConnection::new(addr);
// Note: This is a simplified example - actual connection logic would be implemented here
println!("Client created successfully for {}", addr);
Ok(())
}Re-exports§
pub use client::Client;pub use client::ClientBuilder;pub use config::ClientConfig;pub use config::CompressionConfig;pub use config::TlsConfig;pub use connection::ClientConnection;
Modules§
- client
- WebSocket client implementation for AeroSocket
- config
- Client configuration for AeroSocket
- connection
- WebSocket client connection handling for AeroSocket
- prelude
- Prelude module for AeroSocket Client