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