Module
Yoga.Fastify.Plugin.RateLimit
- Package
- purescript-yoga-fastify
- Repository
- rowtype-yoga/purescript-yoga-fastify
#RouteRateLimitImpl Source
type RouteRateLimitImpl :: Row Typetype RouteRateLimitImpl = (allowList :: Array String, ban :: Int, max :: Int, timeWindow :: Foreign)
#routeRateLimit Source
routeRateLimit :: forall opts opts_. Union opts opts_ RouteRateLimitImpl => Record opts -> RouteRateLimit#timeWindowMs Source
timeWindowMs :: Int -> Foreign#timeWindowStr Source
timeWindowStr :: String -> Foreign- Modules
- Yoga.
Fastify. Auth. Argon2 - Yoga.
Fastify. Auth. JWT - Yoga.
Fastify. Fastify - Yoga.
Fastify. Plugin - Yoga.
Fastify. Plugin. Cors - Yoga.
Fastify. Plugin. Helmet - Yoga.
Fastify. Plugin. RateLimit - Yoga.
Fastify. Plugin. WebSocket - Yoga.
Fastify. Route. HandleResponse - Yoga.
Fastify. Route. HandleRoute - Yoga.
Fastify. Route. ParseBody - Yoga.
Fastify. Route. ParseHeaders - Yoga.
Fastify. Route. ParsePathParams - Yoga.
Fastify. Route. ParseQueryParams - Yoga.
Fastify. Route. SetHeaders