sig/request.rbs in httpx-0.20.5 vs sig/request.rbs in httpx-0.21.0

- old
+ new

@@ -48,10 +48,16 @@ def trailers: () -> Headers def trailers?: () -> boolish + def read_timeout: () -> Numeric + + def write_timeout: () -> Numeric + + def request_timeout: () -> Numeric + class Body @headers: Headers @body: body_encoder? @unbounded_body: bool @@ -59,10 +65,10 @@ def each: () { (String) -> void } -> void | () -> Enumerable[String] def rewind: () -> void def empty?: () -> bool - def bytesize: () -> Numeric + def bytesize: () -> (Integer | Float) def stream: (Transcoder::_Encoder) -> bodyIO def unbounded_body?: () -> bool def chunked?: () -> bool def chunk!: () -> void def inspect: () -> String