ai_lib/transport/
mod.rs

1//! 传输层模块,提供统一的HTTP客户端和网络通信功能
2//!
3//! Transport layer module providing unified HTTP client and network communication.
4//!
5//! This module abstracts HTTP communication details from provider adapters,
6//! providing configurable connection pooling, proxy support, and error handling.
7
8#[cfg(feature = "unified_transport")]
9pub mod client_factory;
10pub mod dyn_transport;
11pub mod error;
12pub mod http;
13
14pub use dyn_transport::{DynHttpTransport, DynHttpTransportRef};
15pub use error::TransportError;
16pub use http::HttpTransportConfig;
17pub use http::{HttpClient, HttpTransport};