Skip to main content

set_quota_headers

Function set_quota_headers 

Source
fn set_quota_headers(
    ctx: &mut Context,
    limit: u64,
    remaining: u64,
    reset: Duration,
)
Expand description

Sets the standard X-RateLimit-* response headers (APISIX’s show_limit_quota_header behavior, always on).