Skip to main content

traffic_range_json

Function traffic_range_json 

Source
pub fn traffic_range_json(
    from: &str,
    to: &str,
    host: Option<&str>,
) -> Result<String, (u16, String)>
Available on non-WebAssembly only.
Expand description

GET /traffic?from=YYYY-MM-DD&to=YYYY-MM-DD: the summary for those days (within what’s kept). Err((404|400, message)).