cuprate_test_utils::rpc::data::otherConstant GET_NET_STATS_RESPONSE
Source pub const GET_NET_STATS_RESPONSE: &str = r#"{
"start_time": 1721251858,
"status": "OK",
"total_bytes_in": 16283817214,
"total_bytes_out": 34225244079,
"total_packets_in": 5981922,
"total_packets_out": 3627107,
"untrusted": false
}"#;
Expand description
Documentation, request.
use cuprate_test_utils::rpc::data::other::*;
use serde_json::{to_value, Value};
let value = serde_json::from_str::<Value>(&GET_NET_STATS_RESPONSE);