Skip to main content

rate_window_key

Function rate_window_key 

Source
pub fn rate_window_key(prefix: &str, ip: IpAddr) -> String
Expand description

The {prefix}rate_limit:rate:{ip} window key, the global tier’s bucket (rate_key = f"rate:{client_ip}").