httpx/sig/plugins/rate_limiter.rbs
2020-12-02 01:30:38 +00:00

11 lines
274 B
Plaintext

module HTTPX
module Plugins
module RateLimiter
def self.load_dependencies: (singleton(Session)) -> void
def self.retry_on_rate_limited_response: (_Response) -> bool
def self.retry_after_rate_limit: (untyped, _Response) -> Numeric?
end
end
end