Function hydroflow::util::tcp_lines

source ยท
pub fn tcp_lines(
    stream: TcpStream,
) -> (FramedWrite<OwnedWriteHalf, LinesCodec>, FramedRead<OwnedReadHalf, LinesCodec>)
Expand description

Helper creates a TCP Stream and Sink for strings delimited by newlines.