arti_client

Module address

Source
Expand description

Types and traits for converting objects to addresses which Tor can connect to.

Structs§

TorAddr
An address object that you can connect to over the Tor network.

Enums§

Host 🔒
A host that Tor can connect to: either a hostname or an IP address.
ResolveInstructions 🔒
How to resolve this Tor host address into IP address(es)
StreamInstructions 🔒
How to make a stream to this TorAddr?
TorAddrError
An error created while making or using a TorAddr.

Traits§

DangerouslyIntoTorAddr
An object that can be converted to a TorAddr, but which it might be risky to get in the first place if you’re hoping for anonymity.
IntoTorAddr
An object that can be converted to a TorAddr with a minimum of risk.

Functions§

is_valid_hostname 🔒
Check whether hostname is a valid hostname or not.