Expand description
Domain fronting library for tunneling connections through HTTP POST requests.
This crate provides both client and server components for domain fronting, allowing API connections to be tunneled through HTTP POST requests.
§Features
- Client:
domain_fronting::ProxyConnectionimplementstokio::io::AsyncRead+tokio::io::AsyncWrite - Server:
domain_fronting::server::Sessionsmanages HTTP sessions and forwards to upstream - Testing: Both components support custom transports for testing
§Examples
See the module documentation for domain_fronting for usage examples.
Re-exports§
pub use domain_fronting::DomainFronting;pub use domain_fronting::Error;pub use domain_fronting::ProxyConfig;pub use domain_fronting::ProxyConnection;
Modules§
- domain_
fronting - Domain fronting for API connections.
Structs§
- Default
DnsResolver - Default DNS resolver that uses
ToSocketAddrs(getaddrinfo).
Traits§
- DnsResolver
- DNS resolver trait for resolving hostnames to IP addresses.