sig/request.rbs in httpx-1.0.2 vs sig/request.rbs in httpx-1.1.0

- old
+ new

@@ -13,10 +13,14 @@ attr_reader state: Symbol attr_reader options: Options attr_reader response: response? attr_reader drain_error: StandardError? + attr_accessor peer_address: ipaddr? + + attr_writer persistent: bool + @trailers: Headers? @informational_status: Integer? @query: String? @drainer: Enumerator[String, void]? @@ -48,14 +52,16 @@ def trailers: () -> Headers def trailers?: () -> boolish - def read_timeout: () -> Numeric + def persistent?: () -> bool - def write_timeout: () -> Numeric + def read_timeout: () -> Numeric? - def request_timeout: () -> Numeric + def write_timeout: () -> Numeric? + + def request_timeout: () -> Numeric? private def initialize_body: (Options options) -> Transcoder::_Encoder?