sig/options.rbs in httpx-0.20.5 vs sig/options.rbs in httpx-0.21.0
- old
+ new
@@ -8,11 +8,11 @@
OPERATION_TIMEOUT: Integer
KEEP_ALIVE_TIMEOUT: Integer
SETTINGS_TIMEOUT: Integer
DEFAULT_OPTIONS: Hash[Symbol, untyped]
- type timeout_type = :connect_timeout | :settings_timeout | :operation_timeout | :keep_alive_timeout | :total_timeout
+ type timeout_type = :connect_timeout | :settings_timeout | :operation_timeout | :keep_alive_timeout | :total_timeout | :read_timeout | :write_timeout | :request_timeout
type timeout = Hash[timeout_type, Numeric]
def self.new: (?options) -> instance
def self.def_option: (Symbol, ?String) -> void
@@ -62,9 +62,12 @@
# body
attr_reader body: bodyIO?
# body
attr_reader origin: URI::Generic?
+
+ # base_path
+ attr_reader base_path: String?
# ssl
# http2_settings