sig/options.rbs in httpx-1.1.5 vs sig/options.rbs in httpx-1.2.0
- old
+ new
@@ -7,13 +7,15 @@
MAX_BODY_THRESHOLD_SIZE: Integer
CONNECT_TIMEOUT: Integer
OPERATION_TIMEOUT: Integer
KEEP_ALIVE_TIMEOUT: Integer
SETTINGS_TIMEOUT: Integer
+ CLOSE_HANDSHAKE_TIMEOUT: Integer
DEFAULT_OPTIONS: Hash[Symbol, untyped]
+ REQUEST_BODY_IVARS: Array[Symbol]
- type timeout_type = :connect_timeout | :settings_timeout | :operation_timeout | :keep_alive_timeout | :read_timeout | :write_timeout | :request_timeout
+ type timeout_type = :connect_timeout | :settings_timeout | :close_handshake_timeout | :operation_timeout | :keep_alive_timeout | :read_timeout | :write_timeout | :request_timeout
type timeout = Hash[timeout_type, Numeric?]
def self.new: (?options) -> instance
# headers
@@ -118,12 +120,18 @@
attr_reader resolver_options: Hash[Symbol, untyped]
# ip_families
attr_reader ip_families: Array[ip_family]
- def ==: (untyped other) -> bool
+ def ==: (Options other) -> bool
+
+ def options_equals?: (Options other, ?Array[Symbol] ignore_ivars) -> bool
+
def merge: (_ToHash[Symbol, untyped] other) -> instance
+
def to_hash: () -> Hash[Symbol, untyped]
+
+ def extend_with_plugin_classes: (Module pl) -> void
private
REQUEST_IVARS: Array[Symbol]