socksx::socks6

Function read_options

Source
pub async fn read_options<S>(stream: &mut S) -> Result<Vec<SocksOption>>
where S: AsyncRead + Unpin,
Expand description

Reads the SOCKS6 options from the stream.