sig/connection.rbs in httpx-1.3.0 vs sig/connection.rbs in httpx-1.3.1
- old
+ new
@@ -117,16 +117,22 @@
def handle_transition: (Symbol nextstate) -> void
def build_socket: (?Array[ipaddr]? addrs) -> (TCP | SSL | UNIX)
- def on_error: (HTTPX::TimeoutError | Error | StandardError error) -> void
+ def on_error: (HTTPX::TimeoutError | Error | StandardError error, ?Request? request) -> void
- def handle_error: (StandardError error) -> void
+ def handle_error: (StandardError error, ?Request? request) -> void
def purge_after_closed: () -> void
def set_request_timeouts: (Request request) -> void
+
+ def set_request_read_timeout: (Request request) -> void
+
+ def set_request_write_timeout: (Request request) -> void
+
+ def set_request_request_timeout: (Request request) -> void
def write_timeout_callback: (Request request, Numeric write_timeout) -> void
def read_timeout_callback: (Request request, Numeric read_timeout, ?singleton(RequestTimeoutError) error_type) -> void
\ No newline at end of file