sig/plugins/stream.rbs in httpx-1.1.3 vs sig/plugins/stream.rbs in httpx-1.1.4

- old
+ new

@@ -1,20 +1,25 @@ module HTTPX class StreamResponse include _ToS + @request: Request & RequestMethods + @session: sessionStream + @on_chunk: ^(String) -> void | nil + def each: () { (String) -> void } -> void | () -> Enumerable[String] def each_line: () { (String) -> void } -> void | () -> Enumerable[String] def on_chunk: (string) -> void + def initialize: (Request, Session) -> void + private def response: () -> response - def initialize: (Request, Session, Array[Connection]) -> untyped end module Plugins module Stream module InstanceMethods