Function salvo::hyper::client::conn::handshake[]

pub async fn handshake<T>(
    io: T
) -> Result<(SendRequest<Body>, Connection<T, Body>), Error> where
    T: AsyncRead + AsyncWrite + Unpin + Send + 'static, 
Expand description

Returns a handshake future over some IO.

This is a shortcut for Builder::new().handshake(io).