pulse_http 0.2.0

Async HTTP/1.1 framework on Tokio — raw TCP, routing, middleware, no Hyper
Documentation
1
2
3
4
5
use std::net::IpAddr;

pub fn rate_limit_key(ip_addr: IpAddr, method: &str, path: &str) -> String {
    format!("{}:{}:{}", ip_addr, method, path)
}