Function async_h1::client::connect [−][src]
pub async fn connect<RW>(stream: RW, req: Request) -> Result<Response> where
RW: Read + Write + Send + Sync + Unpin + 'static,
Expand description
Opens an HTTP/1.1 connection to a remote host.