Skip to main content

ndjson

Function ndjson 

Source
pub fn ndjson(rx: Receiver<Bytes>) -> Response
Expand description

The response half of an NDJSON stream; a task writes lines into the sender and stops when sending fails (the client went away).