[][src]Function http_proxy_client_async::handshake_and_wrap

pub async fn handshake_and_wrap<'_, '_, '_, ARW>(
    __arg0: ARW,
    host: &'_ str,
    port: u16,
    request_headers: &'_ HeaderMap,
    read_buf: &'_ mut [u8]
) -> Result<Outcome<Stream<ARW>>> where
    ARW: AsyncRead + AsyncWrite + Unpin