Module default

Source
Expand description

Implement the default transport, which opens TCP connections using a happy-eyeballs style parallel algorithm.

Structs§

DefaultTransport 🔒
A default transport object that opens TCP connections for a ChannelMethod::Direct.

Statics§

CONNECTION_DELAY 🔒
Time to wait between starting parallel connections to the same relay.

Functions§

connect_to_one 🔒
Connect to one of the addresses in addrs by running connections in parallel until one works.