Function hydroflow::util::connect_tcp_lines
source · pub fn connect_tcp_lines(
) -> (TcpFramedSink<String>, TcpFramedStream<LinesCodec>)
Expand description
This is the same thing as connect_tcp_bytes
except instead of using a length-delimited encoding scheme it uses new lines to separate frames.