Skip to main content

write_out

Function write_out 

Source
async fn write_out<W: AsyncWrite + Unpin>(
    conn: String,
    writer: W,
    out: UnboundedReceiver<Vec<u8>>,
    failed: Sender<String>,
)
Expand description

The connection’s writer: each request’s bytes, in order. A failed write is reported once, and ends the connection.