class Async::HTTP::BufferedBody
def closed?
def closed? true end
def each(&block)
def each(&block) @chunks.each(&block) end
def initialize(body)
def initialize(body) @chunks = [] body.each do |chunk| @chunks << chunk end end
def read
def read @buffer ||= @chunks.join end