← all modules

Sky.Http.RateLimit

Sky.Http.RateLimit
  Sky.Http.RateLimit — token-bucket rate limiting (Layer 3

Values
  allow : String -> String -> Int -> Int -> Bool
      `allow name key capacity refillPerSec` — try to consume one