pub async fn handshake<E, T, B>(
exec: E,
io: T,
) -> Result<(SendRequest<B>, Connection<T, B, E>)>
Expand description
Returns a handshake future over some IO.
This is a shortcut for Builder::new(exec).handshake(io)
.
See client::conn
for more.