[−][src]Function socks5_async::connect_with_stream
pub async fn connect_with_stream<'_>(
stream: &'_ mut TcpStream,
target_addr: impl ToTargetAddr,
user_pass: Option<(String, String)>
) -> Result<(), Box<dyn Error>>
Perform SOCKS5 handshake and send CONNECT
command through a TCP stream