Safe Haskell | None |
---|
Documentation
class ThrottleCache c whereSource
cacheCount :: c -> ByteString -> IO IntSource
newMemoryThrottleCache :: Int -> NominalDiffTime -> IO MemoryThrottleCacheSource
throttle :: ThrottleCache c => c -> Int -> (Request -> Maybe ByteString) -> MiddlewareSource
throttlePath :: ThrottleCache c => ByteString -> c -> Int -> (Request -> Maybe ByteString) -> MiddlewareSource