pub async fn handshake<T>(
io: T,
) -> Result<(SendRequest<Body>, Connection<T, Body>)>
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>(
io: T,
) -> Result<(SendRequest<Body>, Connection<T, Body>)>
Returns a handshake future over some IO.
This is a shortcut for Builder::new().handshake(io)
.
See client::conn
for more.