Skip to main content

connect_channel

Function connect_channel 

Source
pub async fn connect_channel(target: &str) -> Result<TcpStream, Error>
Available on (crate features deploy or sim) and (crate features docker_runtime or ecs_runtime) only.
Expand description

Connects to a channel endpoint, enabling TCP_NODELAY so Nagle’s algorithm (combined with delayed ACKs) doesn’t stall small writes. Failure to set the option is non-fatal, so we just log a warning.