http_proxy_handshake

Function http_proxy_handshake 

Source
pub(super) async fn http_proxy_handshake(
    stream: impl AsyncRead + AsyncWrite + Send + Unpin + 'static,
    use_http2: bool,
    drop_guard: DropGuard,
) -> Result<SendRequest, Box<dyn Error + Send + Sync>>
Expand description

Establishes a new HTTP connection to a backend server.