sig/connection.rbs in httpx-0.17.0 vs sig/connection.rbs in httpx-0.18.0
- old
+ new
@@ -23,12 +23,20 @@
attr_reader origin: URI::Generic
attr_reader state: Symbol
attr_reader pending: Array[Request]
attr_reader options: Options
- attr_writer timers: untyped # Timers::Timer
+ attr_writer timers: Timers
+ @origins: Array[URI::Generic]
+ @window_size: Integer
+ @read_buffer: Buffer
+ @write_buffer: Buffer
+ @inflight: Integer
+ @keep_alive_timeout: Numeric?
+ @total_timeout: Numeric?
+
def addresses: () -> Array[ipaddr]?
def addresses=: (Array[ipaddr]) -> void
def match?: (URI::Generic, options) -> bool
@@ -60,10 +68,11 @@
def send: (Request) -> void
def timeout: () -> Numeric?
+ def deactivate: () -> void
private
def initialize: (String, URI::Generic, options) -> untyped
def connect: () -> void
@@ -74,24 +83,21 @@
def send_pending: () -> void
def parser: () -> _Parser
+ def send_request_to_parser: (Request request) -> void
+
def build_parser: () -> _Parser
| (String) -> _Parser
def set_parser_callbacks: (_Parser) -> void
def transition: (Symbol) -> void
- def handle_response: () -> void
-
def on_error: (HTTPX::TimeoutError | Error | StandardError) -> void
def handle_error: (StandardError) -> void
- def total_timeout: () -> untyped?
- # def total_timeout: () -> Timers::Timer?
- #
def purge_after_closed: () -> void
end
end
\ No newline at end of file