Expand description
Wrapper around handshake logic that also opens a TCP connection.
Structs§
- Connector
- A wrapper around
Handshakethat opens a TCP connection before forwarding to the inner handshake service. Writing this as its own [tower::Service] lets us apply unified timeout policies, etc. - Outbound
Connector Request - A connector request. Contains the information needed to make an outbound connection to the peer.
Functions§
- connect_
tcp_ 🔒nodelay - Opens a TCP connection to the peer at
addr, withset_tcp_nodelayapplied. - set_
tcp_ 🔒nodelay - Disables Nagle’s algorithm on a peer’s TCP connection.