Skip to main content

send_json

Function send_json 

Source
fn send_json(stream: &mut TcpStream, status: u16, value: &Value) -> Result<()>
Expand description

Sends a JSON response with the given status code.