Sha256: 8dd471236ef53e77a1edef0acd4f1ed7b0d861f745495d4a0ce770c2dec245d7
Contents?: true
Size: 1.31 KB
Versions: 8
Compression:
Stored size: 1.31 KB
Contents
module HTTPX module Plugins module Retries MAX_RETRIES: Integer IDEMPOTENT_METHODS: Array[verb] RETRYABLE_ERRORS: Array[singleton(StandardError)] interface _RetryCallback def call: (response) -> bool? end interface _RetriesOptions def retry_after: () -> Numeric? def retry_after=: (Numeric) -> Numeric def with_retry_after: (Numeric) -> instance def max_retries: () -> Integer? def max_retries=: (int) -> Integer def with_max_retries: (int) -> instance def retry_change_requests: () -> bool? def retry_change_requests=: (bool) -> bool def with_retry_change_requests: (bool) -> instance def retry_on: () -> _RetryCallback? def retry_on=: (_RetryCallback) -> _RetryCallback def with_retry_on: (_RetryCallback) -> instance end def self.extra_options: (Options) -> (Options & _RetriesOptions) module InstanceMethods def max_retries: (int) -> instance private def __repeatable_request?: (Request, Options) -> boolish def __retryable_error?: (_Exception) -> bool end module RequestMethods def retries: () -> Integer end end type sessionRetries = Session & Plugins::Retries::InstanceMethods end end
Version data entries
8 entries across 8 versions & 1 rubygems