62967f736d
How it works: 1. VPN configures NymNetworkDetails with front_hosts 2. SDK passes network_details to BaseClientBuilder via with_network_details() 3. BaseClientBuilder uses ClientBuilder::from_network() when available 4. from_network() automatically enables domain fronting if front_hosts configured Benefits: - Configuration-based (network_details), not object-based (cleaner) - No breaking changes for existing clients Changes: - Added network_details: Option<NymNetworkDetails> to BaseClientBuilder - Updated tests
Nym Rust SDK
This repo contains several components:
mixnet: exposes Nym Client builders and methods. This is useful if you want to interact directly with the Client, or build transport abstractions.tcp_proxy: exposes functionality to set up client/server instances that expose a localhost TcpSocket to read/write to like a 'normal' socket connection.tcp_proxy/bin/contains standalonenym-proxy-clientandnym-proxy-serverbinaries.clientpool: a configurable pool of ephemeral Nym Clients which can be created as a background process and quickly grabbed.
Documentation can be found here.