haskell-servant/servant

Support rate limiting

Open

#266 aperta il 19 nov 2015

Vedi su GitHub
 (16 commenti) (0 reazioni) (0 assegnatari)Haskell (422 fork)batch import
enhancementhelp wantedservant-server

Metriche repository

Star
 (1953 star)
Metriche merge PR
 (Merge medio 23h 44m) (4 PR mergiate in 30 g)

Descrizione

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.

Guida contributor