Plug.Ratelimit (plug_ratelimit v0.21.37)

A plug that enforces rate limiting (requests per second)

Link to this section Summary

Functions

MUST have a keyword of the form

Link to this section Functions

Link to this function

call(conn, arg)

MUST have a keyword of the form:

[limit:, [requests_per_second: x]]

where x is a positive integer.