pub async fn run_shadowsocks_server(
listener: &TcpListener,
password: &str,
method: CipherMethod,
) -> Result<(), ShadowsocksError>Expand description
Run a Shadowsocks server that relays traffic to a target.
This is a test helper - not suitable for production use.
Compatible with shadowsocks_connect from crate::tcp.