sig/resolver/native.rbs in httpx-0.20.5 vs sig/resolver/native.rbs in httpx-0.21.0
- old
+ new
@@ -8,11 +8,14 @@
DNS_PORT: Integer
@family: ip_family
@options: Options
@ns_index: Integer
- @nameserver: String
+ @nameserver: Array[String]?
+ @ndots: Integer
+ @start_timeout: Float?
+ @search: Array[String]
@_timeouts: Array[Numeric]
@timeouts: Hash[String, Array[Numeric]]
@connections: Array[Connection]
@read_buffer: String
@write_buffer: Buffer
@@ -35,10 +38,10 @@
def calculate_interests: () -> (:r | :w | nil)
def consume: () -> void
- def do_retry: (?Numeric loop_time) -> void
+ def do_retry: (?Numeric? loop_time) -> void
def dread: (Integer) -> void
| () -> void
def dwrite: () -> void
\ No newline at end of file