HttpClient.RateLimiter (http_client v0.2.3)

Module used to rate limit calls to certain host

In config.exs :

config :http_client, :rate_limits, "google.com": [{:timer.seconds(1), 5}, {:timer.hours(24), 500_000}]

Link to this section Summary

Link to this section Functions

Link to this function

rate_limit(url)

Specs

rate_limit(String.t()) :: :ok