servant-rate-limit-0.2.0.0: Rate limiting for Servant
Safe HaskellNone
LanguageHaskell2010

Servant.RateLimit.Server

Orphan instances

(HasServer api ctx, HasContextEntry ctx (Backend key), HasRateLimitStrategy strategy, HasRateLimitPolicy policy, key ~ RateLimitPolicyKey policy) => HasServer (RateLimit strategy policy :> api :: Type) ctx Source # 
Instance details

Associated Types

type ServerT (RateLimit strategy policy :> api) m #

Methods

route :: Proxy (RateLimit strategy policy :> api) -> Context ctx -> Delayed env (Server (RateLimit strategy policy :> api)) -> Router env #

hoistServerWithContext :: Proxy (RateLimit strategy policy :> api) -> Proxy ctx -> (forall x. m x -> n x) -> ServerT (RateLimit strategy policy :> api) m -> ServerT (RateLimit strategy policy :> api) n #