Skip to main content

read_loop

Function read_loop 

Source
pub async fn read_loop(
    reader: FrameReader,
    half: BoxRead,
    writer: SharedWriter,
    tx: Sender<Inbound>,
)
Expand description

The reader task: read frames until the session ends, answering Ping with Pong itself.