Skip to main content

do_http_connect_handshake

Function do_http_connect_handshake 

Source
async fn do_http_connect_handshake<R: NetStreamProvider + Send + Sync>(
    stream: R::Stream,
    auth: &Option<(Sensitive<String>, Sensitive<String>)>,
    target: &PtTargetAddr,
) -> Result<R::Stream, ProxyError>
Expand description

Perform HTTP CONNECT proxy handshake (RFC 7231, RFC 7617 for Basic auth).