haskell-servant/servant

Support rate limiting

Open

#266 ouverte le 19 nov. 2015

Voir sur GitHub
 (16 commentaires) (0 réactions) (0 assignés)Haskell (422 forks)batch import
enhancementhelp wantedservant-server

Métriques du dépôt

Stars
 (1 953 stars)
Métriques de merge PR
 (Merge moyen 23h 44m) (4 PRs mergées en 30 j)

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.

Guide contributeur