module Async::HTTP::Body::Reader
def save(path, mode = ::File::WRONLY, *args)
def save(path, mode = ::File::WRONLY, *args) ::File.open(path, mode, *args) do |file| self.each do |chunk| file.write(chunk) end end end
def save(path, mode = ::File::WRONLY, *args) ::File.open(path, mode, *args) do |file| self.each do |chunk| file.write(chunk) end end end