Expand description
Implement the default transport, which opens TCP connections using a happy-eyeballs style parallel algorithm.
Structs§
- Default
Transport 🔒 - 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.