Sha256: 1d15d9f05878a6edfebb489f803c2db9ef711af6f13d5ed69ff99bf2e75b747e

Contents?: true

Size: 729 Bytes

Versions: 11

Compression:

Stored size: 729 Bytes

Contents

module HTTPX
  class Timeout
    CONNECT_TIMEOUT: Numeric
    KEEP_ALIVE_TIMEOUT: Numeric
    OPERATION_TIMEOUT: Numeric

    attr_reader connect_timeout: Numeric
    attr_reader operation_timeout: Numeric
    attr_reader total_timeout: Numeric?
    attr_reader keep_alive_timeout: Numeric?

    def self.new: (instance | Hash[Symbol, untyped]) -> instance
                | () -> instance

    def ==: (untyped other) -> bool 

    def merge: (Timeout | Hash[Symbol, untyped]) -> instance

    private

    def initialize: (
      ?connect_timeout: Numeric,
      ?operation_timeout: Numeric,
      ?keep_alive_timeout: Numeric,
      ?total_timeout: Numeric | nil,
      ?loop_timeout: Numeric | nil
    ) -> untyped
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
httpx-0.13.2 sig/timeout.rbs
httpx-0.13.1 sig/timeout.rbs
httpx-0.13.0 sig/timeout.rbs
httpx-0.12.0 sig/timeout.rbs
httpx-0.11.3 sig/timeout.rbs
httpx-0.11.2 sig/timeout.rbs
httpx-0.11.1 sig/timeout.rbs
httpx-0.11.0 sig/timeout.rbs
httpx-0.10.2 sig/timeout.rbs
httpx-0.10.1 sig/timeout.rbs
httpx-0.10.0 sig/timeout.rbs