Skip to main content

encode_query

Function encode_query 

Source
pub fn encode_query(pairs: &[(&str, &str)]) -> String
Expand description

Minimal URL-query encoder for the (key, value) pairs the chart endpoints take. Avoids pulling in serde_urlencoded just to stringify a handful of params — keeps the handler simple.