Skip to main content

empty_chunk

Function empty_chunk 

Source
pub fn empty_chunk() -> ResponseBody
Expand description

Placeholder “done” sentinel — callers that need to signal stream end can use is_finished() on the converter instead. This is kept only for the nonstream_to_stream path that still needs to materialise a final chunk, which is simply an empty body.