pub fn connect_tcp(
host: &str,
port: u16,
timeout: Duration,
) -> Result<TcpStream>Expand description
Connect a plain TCP stream with connect + read/write timeouts. Intentionally
unguarded — the only caller dials the operator-configured endpoint; the SSRF
classifier (net::ssrf) is composed at any model/agent-supplied URL surface.