pub async fn send_handshake(
sink: &mut FramedWrite<TcpStream, LengthDelimitedCodec>,
channel_name: &str,
sender_id: Option<&str>,
) -> Result<(), Error>Available on crate feature
deploy and (crate features docker_runtime or ecs_runtime) only.Expand description
Sends a ChannelMagic, then a ChannelProtocolVersion, then a
ChannelHandshake as three separate frames over the given sink.