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

Returns a Handshake future over some IO.

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