lib/async/http/body/hijack.rb in async-http-0.52.5 vs lib/async/http/body/hijack.rb in async-http-0.53.0

- old
+ new

@@ -42,9 +42,14 @@ @task = nil @stream = nil end + # We prefer streaming directly as it's the lowest overhead. + def stream? + true + end + def call(stream) return @block.call(stream) end attr :input