Home
last modified time | relevance | path

Searched refs:json_response (Results 1 – 2 of 2) sorted by relevance

/tools/netsim/rust/daemon/src/captures/
Dcaptures_handler.rs135 let json_response = print_to_string_with_options(&response, &JSON_PRINT_OPTION) in handle_capture_list() localVariable
137 writer.put_ok("text/json", &json_response, vec![]); in handle_capture_list()
160 let json_response = in handle_capture_patch() localVariable
163 writer.put_ok("text/json", &json_response, vec![]); in handle_capture_patch()
/tools/netsim/rust/daemon/src/devices/
Ddevices_handler.rs654 if let Ok(json_response) = print_to_string_with_options(&response, &JSON_PRINT_OPTION) { in handle_device_list()
655 writer.put_ok("text/json", &json_response, vec![]) in handle_device_list()