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

pub fn handshake<T>(io: T) -> Handshake<T, Body> where
    T: AsyncRead + AsyncWrite + Send + 'static, 

Returns a Handshake future over some IO.

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