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.
pub fn connect_tcp_lines() -> (TcpFramedSink<String>, TcpFramedStream<LinesCodec>)
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.