Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data RedisBackendError Source #
Represents reasons why requests made to the Redis backend have failed.
Instances
Eq RedisBackendError Source # | |
Defined in Network.Wai.RateLimit.Redis (==) :: RedisBackendError -> RedisBackendError -> Bool # (/=) :: RedisBackendError -> RedisBackendError -> Bool # | |
Show RedisBackendError Source # | |
Defined in Network.Wai.RateLimit.Redis showsPrec :: Int -> RedisBackendError -> ShowS # show :: RedisBackendError -> String # showList :: [RedisBackendError] -> ShowS # | |
Exception RedisBackendError Source # | |
Defined in Network.Wai.RateLimit.Redis |
redisBackend :: Connection -> Backend ByteString Source #
redisBackend
connection
constructs a rate limiting Backend
for the
given redis connection
.