haskell-servant/servant

Support rate limiting

Open

#266 aberto em 19 de nov. de 2015

Ver no GitHub
 (16 comments) (0 reactions) (0 assignees)Haskell (422 forks)batch import
enhancementhelp wantedservant-server

Métricas do repositório

Stars
 (1.953 stars)
Métricas de merge de PR
 (Mesclagem média 23h 44m) (4 fundiu PRs em 30d)

Description

Most APIs have some sort of rate-limit.

This rate-limit can be per API call (for example AWS does this), or for the whole API.

It might not be reasonable to encode this in the types directly, but some way of configuring this would make sense, at least as a global rate-limit as wrapping every function is tedious boiler-plate.

Guia do colaborador