sig/options.rbs in httpx-1.0.2 vs sig/options.rbs in httpx-1.1.0
- old
+ new
@@ -10,11 +10,11 @@
KEEP_ALIVE_TIMEOUT: Integer
SETTINGS_TIMEOUT: Integer
DEFAULT_OPTIONS: Hash[Symbol, untyped]
type timeout_type = :connect_timeout | :settings_timeout | :operation_timeout | :keep_alive_timeout | :read_timeout | :write_timeout | :request_timeout
- type timeout = Hash[timeout_type, Numeric]
+ type timeout = Hash[timeout_type, Numeric?]
def self.new: (?options) -> instance
# headers
attr_reader uri: URI?
@@ -30,10 +30,10 @@
# max_concurrent_requests
attr_reader max_concurrent_requests: Integer?
# max_requests
- attr_reader max_requests: Integer?
+ attr_reader max_requests: Numeric?
# window_size
attr_reader window_size: Integer
# buffer_size