pub fn attach_rate_limit_headers(
resp: &mut HttpResponse,
dec: RateLimitDecision,
)Expand description
Attach both IETF draft RateLimit-Policy/RateLimit and GitHub-compat X-RateLimit-* headers.
pub fn attach_rate_limit_headers(
resp: &mut HttpResponse,
dec: RateLimitDecision,
)Attach both IETF draft RateLimit-Policy/RateLimit and GitHub-compat X-RateLimit-* headers.