Skip to main content

stream_json_response

Function stream_json_response 

Source
pub fn stream_json_response(json_body: String) -> Body
Expand description

Stream a JSON array response with proper formatting.

Takes a pre-formatted JSON array string and streams it in chunks.