Module arti_client::client
source · Expand description
A general interface for Tor client usage.
To construct a client, run the TorClient::create_bootstrapped
method.
Once the client is bootstrapped, you can make anonymous
connections (“streams”) over the Tor network using
TorClient::connect
.
Structs§
- Preferences for how to route a stream over the Tor network.
- An active client session on the Tor network.
Enums§
- Preferences for whether a
TorClient
should bootstrap on its own or not. - What level of sleep to put a Tor client into.
- Record of how we are isolating connections
Functions§
- Monitor
dormant_mode
and enable/disable periodic tasks as applicable - wrap_err 🔒Alias for TorError::from(Error)